Home
last modified time | relevance | path

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

12

/xnu-8020.101.4/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()
2681 ifp = ifindex2ifnet[ifindex]; in in6p_set_multicast_if()
2774 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in in6p_set_source_filters()
3104 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-8020.101.4/bsd/net/
H A Dif_mib.c232 (ifp = ifindex2ifnet[name[0]]) == NULL) {
H A Dif_ports_used.c662 ifp = ifindex2ifnet[idx];
698 struct ifnet *ifp = ifindex2ifnet[npi.npi_if_index]; in if_ports_used_add_inpcb()
803 struct ifnet *ifp = ifindex2ifnet[ifindex]; in if_ports_used_add_flow_entry()
H A Dif_llreach.c627 ifp = ifindex2ifnet[ifindex];
H A Dif_llatbl.c759 #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()
1056 ifp = ifindex2ifnet[ifscope]; in ifa_ifwithaddr_scoped_locked()
2363 ifp = ifindex2ifnet[interface_index]; in ifnet_reset_order()
H A Dnecp_client.c1119 ifp = ifindex2ifnet[if_idx]; in necp_client_collect_interface_stats()
1919 ifp = ifindex2ifnet[interface_index]; in necp_client_add_nexus_flow_if_needed()
2101 struct ifnet *ifp = ifindex2ifnet[flow->interface_index]; in necp_client_flow_is_viable()
4525 direct_interface = ifindex2ifnet[result.routed_interface_index]; in necp_update_client_result()
4529 direct_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
4533 direct_interface = ifindex2ifnet[result.routing_result_parameter.scoped_interface_index]; in necp_update_client_result()
4543 original_scoped_interface = ifindex2ifnet[parsed_parameters->required_interface_index]; in necp_update_client_result()
8609 interface = ifindex2ifnet[interface_index]; in necp_client_copy_interface()
8786 ifp = ifindex2ifnet[interface_index]; in necp_client_get_interface_address()
H A Ddlil.c8525 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_attach()
8548 ifindex2ifnet[ifp->if_index] = ifp; in ifnet_attach()
9111 VERIFY(ifindex2ifnet[ifp->if_index] == ifp); in ifnet_detach()
9119 ifindex2ifnet[ifp->if_index] = NULL; in ifnet_detach()
9423 VERIFY(ifindex2ifnet[ifp->if_index] == NULL); in ifnet_detach_final()
10474 if (en0_index == 0 || ifindex2ifnet[en0_index] == NULL) { in uuid_get_ethernet()
10485 ifp = ifindex2ifnet[the_index]; in uuid_get_ethernet()
12132 ifp = ifindex2ifnet[idx];
H A Dnecp.c4520 ifnet_t interface = ifindex2ifnet[result_parameter.tunnel_interface_index]; in necp_get_result_description()
4529 ifnet_t interface = ifindex2ifnet[result_parameter.scoped_interface_index]; in necp_get_result_description()
4548 ifnet_t interface = ifindex2ifnet[route_rule->exception_if_indices[index]]; in necp_get_result_description()
8899 ifnet_t interface = ifindex2ifnet[interface_index]; in necp_socket_uses_interface()
8965 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_ip_tunnel_tso()
11534 tunnel_interface = ifindex2ifnet[tunnel_interface_index]; in necp_socket_get_effective_mtu()
11574 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.c4745 struct ifnet *ifp = ifindex2ifnet[i]; in pf_attach_hooks()
4764 struct ifnet *ifp = ifindex2ifnet[i];
/xnu-8020.101.4/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()
2516 ifp = ifindex2ifnet[gsr.gsr_interface]; in inp_leave_group()
2686 ifp = ifindex2ifnet[mreqn.imr_ifindex]; in inp_set_multicast_if()
2813 ifp = ifindex2ifnet[msfr.msfr_ifindex]; in inp_set_source_filters()
3027 ifp = ifindex2ifnet[ifindex]; in inp_setmoptions()
3212 ifp = ifindex2ifnet[ifindex];
3294 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 Dudp_usrreq.c1450 ifp = ifindex2ifnet[pktinfo->ipi_ifindex]; in udp_check_pktinfo()
H A Digmp.c451 ifp = ifindex2ifnet[name[0]];
/xnu-8020.101.4/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