Home
last modified time | relevance | path

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

12

/xnu-8792.81.2/bsd/netinet6/
H A Dscope6.c240 ifp = ifindex2ifnet[zoneid]; in sa6_embedscope()
321 if (ifindex2ifnet[zoneid] == NULL) { in sa6_recoverscope()
H A Din6_mcast.c1447 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_block_unblock_source()
1683 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_get_source_filters()
1943 ifp = ifindex2ifnet[mreq->ipv6mr_interface]; in in6p_lookup_v4addr()
2045 ifp = ifindex2ifnet[mreq.ipv6mr_interface]; in in6p_join_group()
2098 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_join_group()
2484 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2523 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2684 ifp = ifindex2ifnet[ifindex]; in in6p_set_multicast_if()
2777 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_set_source_filters()
3107 ifp = ifindex2ifnet[ifindex];
H A Draw_ip6.c584 oifp = ifindex2ifnet[pi->ipi6_ifindex]; in rip6_output()
672 oifp = ifindex2ifnet[index]; in rip6_output()
856 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in rip6_output()
H A Din6_src.c1029 ((ifscope <= if_index) ? ifindex2ifnet[ifscope] : NULL); in selectroute()
2301 ifp = ifindex2ifnet[pi->ipi6_ifindex]; in in6_embedscope()
2332 ifp = ifindex2ifnet[scopeid]; in in6_embedscope()
H A Dudp6_output.c670 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in udp6_output()
H A Dfrag6.c319 dstifp = ifindex2ifnet[idx]; in frag6_input()
H A Dnd6_rtr.c1250 (dr_ifp = ifindex2ifnet[ifindex]) == NULL) { in defrtrlist_ioctl()
4454 def_ifp = ifindex2ifnet[ifindex]; in nd6_setdefaultiface()
H A Dmld6.c406 ifp = ifindex2ifnet[name[0]];
/xnu-8792.81.2/bsd/net/
H A Dif_mib.c232 (ifp = ifindex2ifnet[name[0]]) == NULL) {
H A Dif_llreach.c627 ifp = ifindex2ifnet[ifindex];
H A Dif_ports_used.c673 ifp = ifindex2ifnet[idx];
709 struct ifnet *ifp = ifindex2ifnet[npi.npi_if_index]; in if_ports_used_add_inpcb()
814 struct ifnet *ifp = ifindex2ifnet[ifindex]; in if_ports_used_add_flow_entry()
H A Dif_llatbl.c759 #define ifnet_byindex(index) ifindex2ifnet[(index)]
H A Dif.c314 struct ifnet **ifindex2ifnet; variable
492 bcopy(ifindex2ifnet, new_ifindex2ifnet, (if_indexlim + 1) * sizeof(caddr_t)); in if_next_index()
497 ifindex2ifnet = (struct ifnet **)(void *)new_ifindex2ifnet; in if_next_index()
1073 ifp = ifindex2ifnet[ifscope]; in ifa_ifwithaddr_scoped_locked()
2390 ifp = ifindex2ifnet[interface_index]; in ifnet_reset_order()
H A Ddlil.c8741 if (ifindex2ifnet[i] == NULL && in ifnet_attach()
8767 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_attach()
8790 ifindex2ifnet[ifp->if_index] = ifp; in ifnet_attach()
9353 VERIFY(ifindex2ifnet[ifp->if_index] == ifp); in ifnet_detach()
9361 ifindex2ifnet[ifp->if_index] = NULL; in ifnet_detach()
9666 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_detach_final()
10717 if (en0_index == 0 || ifindex2ifnet[en0_index] == NULL) { in uuid_get_ethernet()
10728 ifp = ifindex2ifnet[the_index]; in uuid_get_ethernet()
12375 ifp = ifindex2ifnet[idx];
12539 struct ifnet *ifp = ifindex2ifnet[ifidx]; in dlil_dump_top_if_qlen()
H A Dnecp_client.c1127 ifp = ifindex2ifnet[if_idx]; in necp_client_collect_interface_stats()
1920 ifp = ifindex2ifnet[interface_index]; in necp_client_add_nexus_flow_if_needed()
2096 struct ifnet *ifp = ifindex2ifnet[flow->interface_index]; in necp_client_flow_is_viable()
4630 direct_interface = ifindex2ifnet[result.routed_interface_index]; in necp_update_client_result()
4634 direct_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
4638 direct_interface = ifindex2ifnet[result.routing_result_parameter.scoped_interface_index]; in necp_update_client_result()
4648 original_scoped_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
8936 interface = ifindex2ifnet[interface_index]; in necp_client_copy_interface()
9116 ifp = ifindex2ifnet[interface_index]; in necp_client_get_interface_address()
H A Dnecp.c4523 ifnet_t interface = ifindex2ifnet[result_parameter.tunnel_interface_index]; in necp_get_result_description()
4532 ifnet_t interface = ifindex2ifnet[result_parameter.scoped_interface_index]; in necp_get_result_description()
4551 ifnet_t interface = ifindex2ifnet[route_rule->exception_if_indices[index]]; in necp_get_result_description()
7201 ifnet_t bound_interface = ifindex2ifnet[bound_interface_index]; in necp_application_find_policy_match_internal()
8934 ifnet_t interface = ifindex2ifnet[interface_index]; in necp_socket_uses_interface()
9000 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_ip_tunnel_tso()
11554 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_get_effective_mtu()
11594 return ifindex2ifnet[result_parameter->tunnel_interface_index]; in necp_get_ifnet_from_result_parameter()
H A Dif_var_private.h1335 extern struct ifnet **__counted_by(if_index) ifindex2ifnet;
H A Dpf_ioctl.c4792 struct ifnet *ifp = ifindex2ifnet[i]; in pf_attach_hooks()
4811 struct ifnet *ifp = ifindex2ifnet[i];
/xnu-8792.81.2/bsd/netinet/
H A Din_mcast.c1535 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_block_unblock_source()
1762 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_get_source_filters()
2197 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_join_group()
2518 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_leave_group()
2694 ifp = ifindex2ifnet[mreqn.imr_ifindex]; in inp_set_multicast_if()
2821 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_set_source_filters()
3035 ifp = ifindex2ifnet[ifindex]; in inp_setmoptions()
3220 ifp = ifindex2ifnet[ifindex];
3302 ifp = ifindex2ifnet[ifindex]; in ip_multicast_if()
H A Dmptcp.c1367 ifp = ifindex2ifnet[ifindex]; in mptcp_session_necp_cb()
1533 ifp = ifindex2ifnet[ifindex]; in mptcp_set_restrictions()
H A Din_tclass.c2052 ipv4_primary = ifindex2ifnet[get_primary_ifscope(AF_INET)]; in net_qos_guideline()
2053 ipv6_primary = ifindex2ifnet[get_primary_ifscope(AF_INET6)]; in net_qos_guideline()
H A Digmp.c455 ifp = ifindex2ifnet[name[0]];
H A Dtcp_output.c3400 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in tcp_ip_output()
H A Dudp_usrreq.c1460 ifp = ifindex2ifnet[pktinfo->ipi_ifindex]; in udp_check_pktinfo()
/xnu-8792.81.2/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