Searched refs:ifindex2ifnet (Results 1 – 9 of 9) sorted by relevance
91 ifindex2ifnet[name[0]] == NULL) { in sysctl_ifdata()96 ifp = ifindex2ifnet[name[0]]; in sysctl_ifdata()
192 struct ifnet **ifindex2ifnet = NULL; variable683 if (ifindex2ifnet == NULL || ifp->if_index >= if_indexlim) { in if_attach()693 if (ifindex2ifnet != NULL) { in if_attach()694 bcopy(ifindex2ifnet, q, n/2); in if_attach()696 old_ifindex2ifnet = ifindex2ifnet; in if_attach()698 ifindex2ifnet = q; in if_attach()700 ifindex2ifnet[ifp->if_index] = ifp; in if_attach()960 ifindex2ifnet[ifp->if_index] = NULL; in if_detach()961 while (if_index > 0 && ifindex2ifnet[if_index] == NULL) in if_detach()1592 return (ifindex2ifnet[sdl->sdl_index]->if_lladdr); in ifa_ifwithnet()
904 extern struct ifnet **ifindex2ifnet;
175 ia6 = in6_ifawithscope(ifindex2ifnet[pi->ipi6_ifindex], in in6_selectsrc()212 ia6 = in6_ifawithscope(ifindex2ifnet[dstsock->sin6_scope_id], in in6_selectsrc()558 ifp = ifindex2ifnet[pi->ipi6_ifindex]; in in6_embedscope()569 ifp = ifindex2ifnet[scopeid]; in in6_embedscope()
419 ifp = ifindex2ifnet[opt->ip6po_pktinfo->ipi6_ifindex]; in ip6_output()577 origifp = ifindex2ifnet[ntohs(ip6->ip6_src.s6_addr16[1])]; in ip6_output()579 origifp = ifindex2ifnet[ntohs(ip6->ip6_dst.s6_addr16[1])]; in ip6_output()2248 ifp = ifindex2ifnet[ifindex]; in ip6_setmoptions()2356 ifp = ifindex2ifnet[mreq->ipv6mr_interface]; in ip6_setmoptions()2428 ifp = ifindex2ifnet[mreq->ipv6mr_interface]; in ip6_setmoptions()
349 oifp = ifindex2ifnet[pi->ipi6_ifindex]; in rip6_output()382 oifp = ifindex2ifnet[in6p->in6p_route.ro_rt->rt_ifp->if_index]; in rip6_output()
583 ifp = ifindex2ifnet[mifcp->mif6c_pifi]; in add_m6if()
1858 nd6_defifp = ifindex2ifnet[nd6_defifindex]; in nd6_setdefaultiface()
1438 ifp = ifindex2ifnet[ifindex]; in ip_multicast_if()1529 ifp = ifindex2ifnet[ifindex]; in ip_setmoptions()1639 ifp = ifindex2ifnet[ifindex]; in ip_setmoptions()1735 ifp = ifindex2ifnet[ifindex]; in ip_setmoptions()