Home
last modified time | relevance | path

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

12

/xnu-8796.101.5/bsd/netinet6/
H A Dscope6.c240 ifp = ifindex2ifnet[zoneid]; in sa6_embedscope()
321 if (ifindex2ifnet[zoneid] == NULL) { in sa6_recoverscope()
H A Din6_mcast.c1442 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_block_unblock_source()
1678 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_get_source_filters()
1938 ifp = ifindex2ifnet[mreq->ipv6mr_interface]; in in6p_lookup_v4addr()
2040 ifp = ifindex2ifnet[mreq.ipv6mr_interface]; in in6p_join_group()
2093 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_join_group()
2479 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2518 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2679 ifp = ifindex2ifnet[ifindex]; in in6p_set_multicast_if()
2772 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_set_source_filters()
3102 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.c1249 (dr_ifp = ifindex2ifnet[ifindex]) == NULL) { in defrtrlist_ioctl()
4453 def_ifp = ifindex2ifnet[ifindex]; in nd6_setdefaultiface()
H A Dmld6.c405 ifp = ifindex2ifnet[name[0]];
/xnu-8796.101.5/bsd/net/
H A Dif_mib.c232 (ifp = ifindex2ifnet[name[0]]) == NULL) {
H A Dif_llreach.c626 ifp = ifindex2ifnet[ifindex];
H A Dif_ports_used.c672 ifp = ifindex2ifnet[idx];
708 struct ifnet *ifp = ifindex2ifnet[npi.npi_if_index]; in if_ports_used_add_inpcb()
813 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()
1048 ifp = ifindex2ifnet[ifscope]; in ifa_ifwithaddr_scoped_locked()
2365 ifp = ifindex2ifnet[interface_index]; in ifnet_reset_order()
H A Ddlil.c8740 if (ifindex2ifnet[i] == NULL && in ifnet_attach()
8766 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_attach()
8789 ifindex2ifnet[ifp->if_index] = ifp; in ifnet_attach()
9352 VERIFY(ifindex2ifnet[ifp->if_index] == ifp); in ifnet_detach()
9360 ifindex2ifnet[ifp->if_index] = NULL; in ifnet_detach()
9665 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.c1126 ifp = ifindex2ifnet[if_idx]; in necp_client_collect_interface_stats()
1919 ifp = ifindex2ifnet[interface_index]; in necp_client_add_nexus_flow_if_needed()
2095 struct ifnet *ifp = ifindex2ifnet[flow->interface_index]; in necp_client_flow_is_viable()
4629 direct_interface = ifindex2ifnet[result.routed_interface_index]; in necp_update_client_result()
4633 direct_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
4637 direct_interface = ifindex2ifnet[result.routing_result_parameter.scoped_interface_index]; in necp_update_client_result()
4647 original_scoped_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
8948 interface = ifindex2ifnet[interface_index]; in necp_client_copy_interface()
9128 ifp = ifindex2ifnet[interface_index]; in necp_client_get_interface_address()
H A Dnecp.c4526 ifnet_t interface = ifindex2ifnet[result_parameter.tunnel_interface_index]; in necp_get_result_description()
4535 ifnet_t interface = ifindex2ifnet[result_parameter.scoped_interface_index]; in necp_get_result_description()
4554 ifnet_t interface = ifindex2ifnet[route_rule->exception_if_indices[index]]; in necp_get_result_description()
7213 ifnet_t bound_interface = ifindex2ifnet[bound_interface_index]; in necp_application_find_policy_match_internal()
8970 ifnet_t interface = ifindex2ifnet[interface_index]; in necp_socket_uses_interface()
9036 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_ip_tunnel_tso()
11647 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_get_effective_mtu()
11687 return ifindex2ifnet[result_parameter->tunnel_interface_index]; in necp_get_ifnet_from_result_parameter()
H A Dif_var_private.h1325 extern struct ifnet **__counted_by(if_index) ifindex2ifnet;
H A Dpf_ioctl.c4787 struct ifnet *ifp = ifindex2ifnet[i]; in pf_attach_hooks()
4806 struct ifnet *ifp = ifindex2ifnet[i];
/xnu-8796.101.5/bsd/netinet/
H A Din_mcast.c1550 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_block_unblock_source()
1777 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_get_source_filters()
2212 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_join_group()
2533 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_leave_group()
2713 ifp = ifindex2ifnet[mreqn.imr_ifindex]; in inp_set_multicast_if()
2840 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_set_source_filters()
3054 ifp = ifindex2ifnet[ifindex]; in inp_setmoptions()
3239 ifp = ifindex2ifnet[ifindex];
3321 ifp = ifindex2ifnet[ifindex]; in ip_multicast_if()
H A Dmptcp.c1330 ifp = ifindex2ifnet[ifindex]; in mptcp_session_necp_cb()
1496 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 Dudp_usrreq.c1462 ifp = ifindex2ifnet[pktinfo->ipi_ifindex]; in udp_check_pktinfo()
H A Dtcp_output.c3400 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in tcp_ip_output()
H A Digmp.c454 ifp = ifindex2ifnet[name[0]];
/xnu-8796.101.5/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