Home
last modified time | relevance | path

Searched refs:gif_if (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.81.4/bsd/net/
H A Dif_gif.c349 error = ifnet_allocate_extended(&gif_init_params, &sc->gif_if); in gif_clone_create()
362 printf("%s: unable to attach encap4\n", if_name(sc->gif_if)); in gif_clone_create()
363 ifnet_release(sc->gif_if); in gif_clone_create()
376 printf("%s: unable to attach encap6\n", if_name(sc->gif_if)); in gif_clone_create()
377 ifnet_release(sc->gif_if); in gif_clone_create()
383 ifnet_set_mtu(sc->gif_if, GIF_MTU); in gif_clone_create()
384 ifnet_set_flags(sc->gif_if, IFF_POINTOPOINT | IFF_MULTICAST, 0xffff); in gif_clone_create()
386 error = ifnet_attach(sc->gif_if, NULL); in gif_clone_create()
389 ifnet_release(sc->gif_if); in gif_clone_create()
401 bpfattach(sc->gif_if, DLT_NULL, sizeof(u_int)); in gif_clone_create()
[all …]
H A Dif_gif.h77 ifnet_t gif_if; /* pointer back to the interface */ member
/xnu-12377.81.4/bsd/netinet6/
H A Din6_gif.c203 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-12377.81.4/bsd/netinet/
H A Din_gif.c208 sc->gif_if.if_mtu = GIF_MTU; in in_gif_output()
252 gifp = ((struct gif_softc *)encap_getarg(m))->gif_if; in in_gif_input()
400 if ((ifnet_flags(sc->gif_if) & IFF_LINK2) == 0 && in gif_encapcheck4()