Home
last modified time | relevance | path

Searched refs:ifindex2ifnet (Results 1 – 25 of 34) sorted by relevance

12

/xnu-8019.80.24/bsd/netinet6/
H A Dscope6.c240 ifp = ifindex2ifnet[zoneid]; in sa6_embedscope()
321 if (ifindex2ifnet[zoneid] == NULL) { in sa6_recoverscope()
H A Din6_mcast.c1449 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_block_unblock_source()
1695 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_get_source_filters()
1955 ifp = ifindex2ifnet[mreq->ipv6mr_interface]; in in6p_lookup_v4addr()
2057 ifp = ifindex2ifnet[mreq.ipv6mr_interface]; in in6p_join_group()
2110 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_join_group()
2496 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2535 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2693 ifp = ifindex2ifnet[ifindex]; in in6p_set_multicast_if()
2786 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_set_source_filters()
3116 ifp = ifindex2ifnet[ifindex];
H A Draw_ip6.c573 oifp = ifindex2ifnet[pi->ipi6_ifindex]; in rip6_output()
661 oifp = ifindex2ifnet[index]; in rip6_output()
845 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in rip6_output()
H A Din6_src.c937 ((ifscope <= if_index) ? ifindex2ifnet[ifscope] : NULL); in selectroute()
2209 ifp = ifindex2ifnet[pi->ipi6_ifindex]; in in6_embedscope()
2240 ifp = ifindex2ifnet[scopeid]; in in6_embedscope()
H A Dudp6_output.c669 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in udp6_output()
H A Dfrag6.c319 dstifp = ifindex2ifnet[idx]; in frag6_input()
H A Dnd6_rtr.c1227 (dr_ifp = ifindex2ifnet[ifindex]) == NULL) { in defrtrlist_ioctl()
4431 def_ifp = ifindex2ifnet[ifindex]; in nd6_setdefaultiface()
H A Dmld6.c406 ifp = ifindex2ifnet[name[0]];
/xnu-8019.80.24/bsd/net/
H A Dif_mib.c241 (ifp = ifindex2ifnet[name[0]]) == NULL) {
H A Dif_ports_used.c665 ifp = ifindex2ifnet[idx];
701 struct ifnet *ifp = ifindex2ifnet[npi.npi_if_index]; in if_ports_used_add_inpcb()
806 struct ifnet *ifp = ifindex2ifnet[ifindex]; in if_ports_used_add_flow_entry()
H A Dif_llreach.c627 ifp = ifindex2ifnet[ifindex];
H A Dif_llatbl.c739 #define ifnet_byindex(index) ifindex2ifnet[(index)]
H A Dif.c314 struct ifnet **ifindex2ifnet; variable
484 bcopy(ifindex2ifnet, new_ifindex2ifnet, (if_indexlim + 1) * sizeof(caddr_t)); in if_next_index()
489 ifindex2ifnet = (struct ifnet **)(void *)new_ifindex2ifnet; in if_next_index()
1059 ifp = ifindex2ifnet[ifscope]; in ifa_ifwithaddr_scoped_locked()
2366 ifp = ifindex2ifnet[interface_index]; in ifnet_reset_order()
H A Dnecp_client.c1098 ifp = ifindex2ifnet[if_idx]; in necp_client_collect_interface_stats()
1898 ifp = ifindex2ifnet[interface_index]; in necp_client_add_nexus_flow_if_needed()
2080 struct ifnet *ifp = ifindex2ifnet[flow->interface_index]; in necp_client_flow_is_viable()
4504 direct_interface = ifindex2ifnet[result.routed_interface_index]; in necp_update_client_result()
4508 direct_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
4512 direct_interface = ifindex2ifnet[result.routing_result_parameter.scoped_interface_index]; in necp_update_client_result()
4522 original_scoped_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
8559 interface = ifindex2ifnet[interface_index]; in necp_client_copy_interface()
8736 ifp = ifindex2ifnet[interface_index]; in necp_client_get_interface_address()
H A Ddlil.c8456 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_attach()
8479 ifindex2ifnet[ifp->if_index] = ifp; in ifnet_attach()
9048 VERIFY(ifindex2ifnet[ifp->if_index] == ifp); in ifnet_detach()
9056 ifindex2ifnet[ifp->if_index] = NULL; in ifnet_detach()
9365 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_detach_final()
10414 if (en0_index == 0 || ifindex2ifnet[en0_index] == NULL) { in uuid_get_ethernet()
10425 ifp = ifindex2ifnet[the_index]; in uuid_get_ethernet()
12061 ifp = ifindex2ifnet[idx];
H A Dnecp.c4319 ifnet_t interface = ifindex2ifnet[result_parameter.tunnel_interface_index]; in necp_get_result_description()
4328 ifnet_t interface = ifindex2ifnet[result_parameter.scoped_interface_index]; in necp_get_result_description()
4347 ifnet_t interface = ifindex2ifnet[route_rule->exception_if_indices[index]]; in necp_get_result_description()
8535 ifnet_t interface = ifindex2ifnet[interface_index]; in necp_socket_uses_interface()
8600 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_ip_tunnel_tso()
11157 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_get_effective_mtu()
11197 return ifindex2ifnet[result_parameter->tunnel_interface_index]; in necp_get_ifnet_from_result_parameter()
H A Dif_var.h1772 extern struct ifnet **ifindex2ifnet;
H A Dpf_ioctl.c4761 struct ifnet *ifp = ifindex2ifnet[i]; in pf_attach_hooks()
4780 struct ifnet *ifp = ifindex2ifnet[i];
/xnu-8019.80.24/bsd/netinet/
H A Din_mcast.c1537 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_block_unblock_source()
1774 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_get_source_filters()
2209 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_join_group()
2528 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_leave_group()
2698 ifp = ifindex2ifnet[mreqn.imr_ifindex]; in inp_set_multicast_if()
2825 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_set_source_filters()
3039 ifp = ifindex2ifnet[ifindex]; in inp_setmoptions()
3224 ifp = ifindex2ifnet[ifindex];
3306 ifp = ifindex2ifnet[ifindex]; in ip_multicast_if()
H A Dmptcp.c1445 ifp = ifindex2ifnet[ifindex]; in mptcp_session_necp_cb()
1611 ifp = ifindex2ifnet[ifindex]; in mptcp_set_restrictions()
H A Din_tclass.c2039 ipv4_primary = ifindex2ifnet[get_primary_ifscope(AF_INET)]; in net_qos_guideline()
2040 ipv6_primary = ifindex2ifnet[get_primary_ifscope(AF_INET6)]; in net_qos_guideline()
H A Dtcp_output.c3125 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in tcp_ip_output()
H A Digmp.c451 ifp = ifindex2ifnet[name[0]];
H A Dudp_usrreq.c1448 ifp = ifindex2ifnet[pktinfo->ipi_ifindex]; in udp_check_pktinfo()
/xnu-8019.80.24/bsd/kern/
H A Dsocket_flows.c952 struct ifnet *ifp = ifindex2ifnet[hash_entry->soflow_outifindex]; in soflow_nstat_provider_request_vals()
1009 struct ifnet *ifp = ifindex2ifnet[hash_entry->soflow_outifindex]; in soflow_nstat_provider_request_vals()

12