Searched refs:gif_if (Results 1 – 4 of 4) sorted by relevance
| /xnu-8020.101.4/bsd/net/ |
| H A D | if_gif.c | 353 error = ifnet_allocate_extended(&gif_init_params, &sc->gif_if); in gif_clone_create() 366 printf("%s: unable to attach encap4\n", if_name(sc->gif_if)); in gif_clone_create() 367 ifnet_release(sc->gif_if); in gif_clone_create() 380 printf("%s: unable to attach encap6\n", if_name(sc->gif_if)); in gif_clone_create() 381 ifnet_release(sc->gif_if); in gif_clone_create() 387 ifnet_set_mtu(sc->gif_if, GIF_MTU); in gif_clone_create() 388 ifnet_set_flags(sc->gif_if, IFF_POINTOPOINT | IFF_MULTICAST, 0xffff); in gif_clone_create() 390 error = ifnet_attach(sc->gif_if, NULL); in gif_clone_create() 393 ifnet_release(sc->gif_if); in gif_clone_create() 405 bpfattach(sc->gif_if, DLT_NULL, sizeof(u_int)); in gif_clone_create() [all …]
|
| H A D | if_gif.h | 77 ifnet_t gif_if; /* pointer back to the interface */ member
|
| /xnu-8020.101.4/bsd/netinet6/ |
| H A D | in6_gif.c | 203 sc->gif_if.if_mtu = GIF_MTU; in in6_gif_output() 251 gifp = ((struct gif_softc *)encap_getarg(m))->gif_if; in in6_gif_input() 358 if ((ifnet_flags(sc->gif_if) & IFF_LINK2) == 0 && ifp) { in gif_validate6() 374 "due to ingress filter\n", if_name(&sc->gif_if), in gif_validate6()
|
| /xnu-8020.101.4/bsd/netinet/ |
| H A D | in_gif.c | 209 sc->gif_if.if_mtu = GIF_MTU; in in_gif_output() 253 gifp = ((struct gif_softc *)encap_getarg(m))->gif_if; in in_gif_input() 401 if ((ifnet_flags(sc->gif_if) & IFF_LINK2) == 0 && in gif_encapcheck4()
|