Lines Matching refs:gifp
239 struct ifnet *gifp = NULL;
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)
306 if (m->m_pkthdr.rcvif) /* 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);