Home
last modified time | relevance | path

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

12

/xnu-10063.141.1/bsd/netinet6/
H A Dscope6.c240 ifp = ifindex2ifnet[zoneid]; in sa6_embedscope()
321 if (ifindex2ifnet[zoneid] == NULL) { in sa6_recoverscope()
H A Din6_mcast.c1470 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_block_unblock_source()
1706 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_get_source_filters()
1966 ifp = ifindex2ifnet[mreq->ipv6mr_interface]; in in6p_lookup_v4addr()
2068 ifp = ifindex2ifnet[mreq.ipv6mr_interface]; in in6p_join_group()
2121 ifp = ifindex2ifnet[gsr.gsr_interface]; in in6p_join_group()
2507 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2546 ifp = ifindex2ifnet[ifindex]; in in6p_leave_group()
2707 ifp = ifindex2ifnet[ifindex]; in in6p_set_multicast_if()
2800 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_set_source_filters()
3132 ifp = ifindex2ifnet[ifindex];
H A Draw_ip6.c587 oifp = ifindex2ifnet[pi->ipi6_ifindex]; in rip6_output()
675 oifp = ifindex2ifnet[index]; in rip6_output()
859 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in rip6_output()
H A Din6_src.c1029 ((ifscope <= if_index) ? ifindex2ifnet[ifscope] : NULL); in selectroute()
2255 ifp = ifindex2ifnet[pi->ipi6_ifindex]; in in6_embedscope()
2286 ifp = ifindex2ifnet[scopeid]; in in6_embedscope()
H A Dudp6_output.c677 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in udp6_output()
H A Dfrag6.c316 dstifp = ifindex2ifnet[idx]; in frag6_input()
H A Dnd6_rtr.c1250 (dr_ifp = ifindex2ifnet[ifindex]) == NULL) { in defrtrlist_ioctl()
4457 def_ifp = ifindex2ifnet[ifindex]; in nd6_setdefaultiface()
H A Dmld6.c412 ifp = ifindex2ifnet[name[0]];
/xnu-10063.141.1/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.c684 ifp = ifindex2ifnet[idx];
720 struct ifnet *ifp = ifindex2ifnet[npi.npi_if_index]; in if_ports_used_add_inpcb()
825 struct ifnet *ifp = ifindex2ifnet[ifindex]; in if_ports_used_add_flow_entry()
H A Dif.c397 struct ifnet **ifindex2ifnet; variable
563 bcopy(ifindex2ifnet, new_ifindex2ifnet, (if_indexlim + 1) * sizeof(caddr_t)); in if_next_index()
568 ifindex2ifnet = (struct ifnet **)(void *)new_ifindex2ifnet; in if_next_index()
1135 ifp = ifindex2ifnet[ifscope]; in ifa_ifwithdstaddr_scoped()
1161 ifp = ifindex2ifnet[ifscope]; in ifa_ifwithaddr_scoped_locked()
2478 ifp = ifindex2ifnet[interface_index]; in ifnet_reset_order()
H A Ddlil.c9054 if (ifindex2ifnet[i] == NULL && in ifnet_attach()
9080 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_attach()
9103 ifindex2ifnet[ifp->if_index] = ifp; in ifnet_attach()
9679 VERIFY(ifindex2ifnet[ifp->if_index] == ifp); in ifnet_detach()
9687 ifindex2ifnet[ifp->if_index] = NULL; in ifnet_detach()
9997 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_detach_final()
11051 if (en0_index == 0 || ifindex2ifnet[en0_index] == NULL) { in uuid_get_ethernet()
11062 ifp = ifindex2ifnet[the_index]; in uuid_get_ethernet()
12762 ifp = ifindex2ifnet[idx];
12926 struct ifnet *ifp = ifindex2ifnet[ifidx]; in dlil_dump_top_if_qlen()
H A Dnecp_client.c1147 ifp = ifindex2ifnet[if_idx]; in necp_client_collect_interface_stats()
1948 ifp = ifindex2ifnet[interface_index]; in necp_client_add_nexus_flow_if_needed()
2124 struct ifnet *ifp = ifindex2ifnet[flow->interface_index]; in necp_client_flow_is_viable()
4668 direct_interface = ifindex2ifnet[result.routed_interface_index]; in necp_update_client_result()
4672 direct_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
4676 direct_interface = ifindex2ifnet[result.routing_result_parameter.scoped_interface_index]; in necp_update_client_result()
4686 original_scoped_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
5846 ifp = ifindex2ifnet[parsed_parameters->remote_addr.sin6.sin6_scope_id]; in necp_find_matching_interface_index()
9229 interface = ifindex2ifnet[interface_index]; in necp_client_copy_interface()
9412 ifp = ifindex2ifnet[interface_index]; in necp_client_get_interface_address()
H A Dnecp.c4796 ifnet_t interface = ifindex2ifnet[result_parameter.tunnel_interface_index]; in necp_get_result_description()
4805 ifnet_t interface = ifindex2ifnet[result_parameter.scoped_interface_index]; in necp_get_result_description()
4824 ifnet_t interface = ifindex2ifnet[route_rule->exception_if_indices[index]]; in necp_get_result_description()
7097 ifnet_t interface = ifindex2ifnet[info->bound_interface_index]; in necp_application_fillout_info_locked()
7613 ifnet_t bound_interface = ifindex2ifnet[bound_interface_index]; in necp_application_find_policy_match_internal()
9104 ifnet_t interface = ifindex2ifnet[info->bound_interface_index]; in necp_socket_fillout_info_locked()
9490 ifnet_t interface = ifindex2ifnet[interface_index]; in necp_socket_uses_interface()
9556 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_ip_tunnel_tso()
9962 ifnet_t interface = ifindex2ifnet[bound_interface_index]; in necp_ip_output_check_policy()
12399 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_get_effective_mtu()
[all …]
H A Dif_var_private.h1375 extern struct ifnet **__counted_by(ifindex2ifnetcount) ifindex2ifnet;
H A Drtsock.c480 ifp = ifindex2ifnet[ifscope]; in route_output()
H A Dpf_ioctl.c4855 struct ifnet *ifp = ifindex2ifnet[i]; in pf_attach_hooks()
4874 struct ifnet *ifp = ifindex2ifnet[i];
/xnu-10063.141.1/bsd/netinet/
H A Din_mcast.c1549 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_block_unblock_source()
1776 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_get_source_filters()
2210 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_join_group()
2531 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_leave_group()
2711 ifp = ifindex2ifnet[mreqn.imr_ifindex]; in inp_set_multicast_if()
2838 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_set_source_filters()
3052 ifp = ifindex2ifnet[ifindex]; in inp_setmoptions()
3237 ifp = ifindex2ifnet[ifindex];
3319 ifp = ifindex2ifnet[ifindex]; in ip_multicast_if()
H A Dmptcp.c1331 ifp = ifindex2ifnet[ifindex]; in mptcp_session_necp_cb()
1501 ifp = ifindex2ifnet[ifindex]; in mptcp_set_restrictions()
H A Din_tclass.c2059 ipv4_primary = ifindex2ifnet[get_primary_ifscope(AF_INET)]; in net_qos_guideline()
2060 ipv6_primary = ifindex2ifnet[get_primary_ifscope(AF_INET6)]; in net_qos_guideline()
H A Digmp.c462 ifp = ifindex2ifnet[name[0]];
H A Dudp_usrreq.c1495 ifp = ifindex2ifnet[pktinfo->ipi_ifindex]; in udp_check_pktinfo()
H A Dtcp_output.c3509 outif = ifindex2ifnet[ip6oa.ip6oa_boundif]; in tcp_ip_output()
/xnu-10063.141.1/bsd/kern/
H A Dsocket_flows.c956 struct ifnet *ifp = ifindex2ifnet[hash_entry->soflow_outifindex]; in soflow_nstat_provider_request_vals()
1013 struct ifnet *ifp = ifindex2ifnet[hash_entry->soflow_outifindex]; in soflow_nstat_provider_request_vals()

12