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

/darwin-on-arm/xnu/bsd/netinet/
H A Din_gif.c240 struct ifnet *gifp = NULL; local
249 gifp = ((struct gif_softc*)encap_getarg(m))->gif_if;
251 if (gifp == NULL || (gifp->if_flags & IFF_UP) == 0) {
271 if (gifp->if_flags & IFF_LINK1)
291 if (gifp->if_flags & IFF_LINK1)
307 if (m->m_pkthdr.rcvif) /* replace the rcvif by gifp for dlil to route it correctly */
308 m->m_pkthdr.rcvif = gifp;
309 ifnet_input(gifp, m, NULL);
311 gif_input(m, af, gifp);
[all...]
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_gif.c254 struct ifnet *gifp = NULL; local
261 gifp = ((struct gif_softc*)encap_getarg(m))->gif_if;
263 if (gifp == NULL || (gifp->if_flags & IFF_UP) == 0) {
286 if (gifp->if_flags & IFF_LINK1)
303 if (gifp->if_flags & IFF_LINK1)
316 if (m->m_pkthdr.rcvif) /* replace the rcvif by gifp for ifnet_input to route it correctly */
317 m->m_pkthdr.rcvif = gifp;
319 ifnet_input(gifp, m, NULL);

Completed in 67 milliseconds