Lines Matching defs:ifp
197 struct ifnet *ifp = mopts ? mopts->im6o_multicast_ifp : NULL;
199 if (ifp == NULL && IN6_IS_ADDR_MC_NODELOCAL(dst)) {
200 ifp = lo_ifp;
203 if (ifp) {
204 ia6 = in6_ifawithscope(ifp, dst);
337 struct ifnet *ifp)
341 else if (ifp)
342 return(nd_ifinfo[ifp->if_index].chlim);
473 * XXX actually, it is over-specification to return ifp against sin6_scope_id.
476 * we may want to change the function to return something other than ifp.
491 struct ifnet *ifp = NULL;
519 ifp = ifindex2ifnet[pi->ipi6_ifindex];
524 ifp = in6p->in6p_moptions->im6o_multicast_ifp;
525 in6->s6_addr16[1] = htons(ifp->if_index);
530 ifp = ifindex2ifnet[scopeid];
536 *ifpp = ifp;
557 struct ifnet *ifp)
578 if (ifp && ifp->if_index != scopeid)