Lines Matching refs:gifp
240 struct ifnet *gifp = NULL;
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);