Searched refs:gifp (Results 1 - 2 of 2) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Din_gif.c239 struct ifnet *gifp = NULL; local
248 gifp = ((struct gif_softc *)encap_getarg(m))->gif_if;
250 if (gifp == NULL || (gifp->if_flags & IFF_UP) == 0) {
270 if (gifp->if_flags & IFF_LINK1)
290 if (gifp->if_flags & IFF_LINK1)
305 /* Replace the rcvif by gifp for dlil to route it correctly */
307 m->m_pkthdr.rcvif = gifp;
308 ifnet_input(gifp, m, NULL);
310 gif_input(m, af, gifp);
[all...]
/xnu-2782.1.97/bsd/netinet6/
H A Din6_gif.c244 struct ifnet *gifp = NULL; local
251 gifp = ((struct gif_softc *)encap_getarg(m))->gif_if;
253 if (gifp == NULL || (gifp->if_flags & IFF_UP) == 0) {
276 if (gifp->if_flags & IFF_LINK1)
293 if (gifp->if_flags & IFF_LINK1)
306 /* Replace the rcvif by gifp for ifnet_input to route it correctly */
308 m->m_pkthdr.rcvif = gifp;
310 ifnet_input(gifp, m, NULL);

Completed in 15 milliseconds