Lines Matching defs:ifp
198 struct ifnet *ifp = m->m_pkthdr.rcvif;
245 if (ifp->if_flags & IFF_LOOPBACK)
253 htons(ifp->if_index); /* XXX */
265 ifnet_lock_exclusive(ifp);
266 IFP_TO_IA6(ifp, ia);
280 htons(ifp->if_index); /* XXX */
282 LIST_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link)
312 ifnet_lock_done(ifp);
324 * ifp for this purpose, since ip6_mloopback pass the physical
335 htons(ifp->if_index); /* XXX */
340 ifnet_lock_shared(ifp);
341 IN6_LOOKUP_MULTI(mldh->mld6_addr, ifp, in6m);
346 ifnet_lock_done(ifp);
400 struct ifnet *ifp = in6m->in6m_ifp;
407 if ((ia = in6ifa_ifpforlinklocal(ifp, IN6_IFF_NOTREADY|IN6_IFF_ANYCAST))
464 im6o.im6o_multicast_ifp = ifp;