Home
last modified time | relevance | path

Searched refs:if_type (Results 1 – 25 of 26) sorted by relevance

12

/xnu-11215/bsd/net/
H A Dmulticast_list.c113 target_sdl.sdl_type = target_ifp->if_type; in multicast_list_program()
H A Dpktap.c726 ifp->if_type == pktap_filter->filter_param_if_type) { in pktap_filter_evaluate()
756 ifp->if_type == pktap_filter->filter_param_if_type) { in pktap_filter_evaluate()
1197 switch (ifp->if_type) { in pktap_bpf_tap()
1281 ifp->if_type, ifp->if_xname); in pktap_bpf_tap()
1290 hdr->pth_iftype = ifp->if_type; in pktap_bpf_tap()
1457 hdr->pth_iftype = ifp->if_type; in pktap_bpf_tap_packet()
H A Ddroptap.c319 hdr->pth_iftype = ifp->if_type; in droptap_bpf_tap_packet()
421 hdr->pth_iftype = ifp->if_type; in droptap_bpf_tap_mbuf()
H A Dether_if_module.c663 if (ifp->if_type == IFT_L2VLAN) { in ether_frameout_extended()
678 if (ifp->if_type == IFT_L2VLAN) { in ether_frameout_extended()
H A Diptap.c617 hdr->pth_iftype = ifp != NULL ? ifp->if_type : 0; in iptap_bpf_tap()
H A Dif_var_private.h445 #define if_type if_data.ifi_type macro
1251 ((_ifp)->if_type == IFT_CELLULAR || \
H A Ddlil.c854 switch (ifp->if_type) { in dlil_attach_netif_compat_nexus()
6067 ifp->if_type == IFT_CELLULAR) { in dlil_input_packet_list_common()
6082 if (ifp->if_type == IFT_ETHER) { in dlil_input_packet_list_common()
6105 switch (ifp->if_type) { in dlil_input_packet_list_common()
6628 (ifp->if_type == IFT_CELLULAR || in dlil_output()
6665 if (ifp->if_type == IFT_ETHER) { in dlil_output()
6754 (ifp->if_type == IFT_CELLULAR || in dlil_output()
9213 addr_sdl->sdl_type = ifp->if_type; in dlil_alloc_lladdr()
10541 if ((ifp->if_type != IFT_CELLULAR) && in if_state_update()
10813 kev_sdl->sdl_type = ifp->if_type; in dlil_node_absent()
[all …]
H A Dkpi_interface.c330 ifp->if_type = (u_char)einit.type; in ifnet_allocate_extended()
3311 ifp->if_delegated.type = delegated_ifp->if_type; in ifnet_set_delegate()
3330 delegated_ifp->if_type, delegated_ifp->if_family, in ifnet_set_delegate()
3497 if (ifp->if_type == IFT_CELLULAR) { in ifnet_link_status_report()
H A Dbridgestp.c2215 if (ifp->if_type != IFT_ETHER) { in bstp_reinit()
2377 switch (ifp->if_type) { in bstp_enable()
H A Dif.c907 (ifp->if_type == IFT_CELLULAR || in if_functional_type()
4204 ifr->ifr_type.ift_type = ifp->if_type; in ifioctl_ifreq()
H A Dntstat.c4088 if (ifp->if_type == IFT_CELLULAR) { in nstat_ifnet_copy_link_status()
4446 desc->type = ifp->if_type; in nstat_ifnet_copy_descriptor()
H A Dbpf.c3361 if (bp->bif_ifp->if_type == IFT_PKTAP && in bpf_tap_imp()
H A Dnecp.c8686 if (rt->rt_ifp->if_type == IFT_CELLULAR) { in necp_application_find_policy_match_internal()
12435 if (ifp->if_type == IFT_CELLULAR && in necp_route_get_netagent()
12568 if (ifp->if_type == IFT_CELLULAR && in necp_route_get_flow_divert_inner()
H A Dif_bridge.c2732 switch (ifs->if_type) { in bridge_ioctl_add()
3569 switch (ifs->if_type) { in bridge_ioctl_addspan()
/xnu-11215/bsd/netinet6/
H A Din6_ifattach.c282 switch (ifp->if_type) { in in6_iid_from_hw()
711 switch (ifp->if_type) { in in6_ifattach_prelim()
H A Dnd6.c1190 dr->ifp->if_type == IFT_CELLULAR) { in nd6_service_expired_default_router()
1296 dr->ifp->if_type == IFT_CELLULAR) { in nd6_service_expired_route_info()
2818 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest()
2873 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest()
4401 switch (ifp->if_type) { in nd6_need_cache()
H A Dnd6.h883 switch (ifp->if_type) { in nd6_ifptomac()
H A Dip6_input.c709 rin6->ro_rt->rt_ifp->if_type == IFT_LOOP) { in ip6_input_check_interface()
1170 if (inifp->if_type == IFT_CELLULAR && in ip6_input()
H A Din6.c3943 switch (ifp->if_type) { in in6if_do_dad()
4017 switch (ifp->if_type) { in in6_if2idlen()
4068 ifp->if_type); in in6_if2idlen()
H A Dnd6_rtr.c1005 if (new->ifp->if_type == IFT_CELLULAR && in defrouter_addreq()
1687 if (dr->ifp->if_type != IFT_CELLULAR && in defrouter_select()
3172 if (ifp != NULL && ifp->if_type == IFT_CELLULAR) { in find_pfxlist_reachable_router()
H A Dnd6_nbr.c2136 switch (ifp->if_type) { in nd6_dad_duplicated()
2490 sdl->sdl_type = ifp->if_type; in nd6_alt_node_addr_decompose()
/xnu-11215/bsd/netinet/
H A Din_arp.c922 SDL(gate)->sdl_type = rt->rt_ifp->if_type; in arp_rtrequest()
958 SDL(gate)->sdl_type = rt->rt_ifp->if_type; in arp_rtrequest()
1667 if (ifp->if_type == IFT_BRIDGE) { in arp_ip_handle_input()
H A Dtcp_input.c2355 if (m->m_pkthdr.rcvif && m->m_pkthdr.rcvif->if_type != IFT_LOOP) { in tcp_input()
6881 if (ifp->if_type == IFT_PPP && slowlink_wsize > 0 && in tcp_mss()
7068 if (rt->rt_ifp->if_type == IFT_PPP && slowlink_wsize > 0 && in tcp_mssopt()
H A Dudp_usrreq.c710 if (ifp && ifp->if_type != IFT_LOOP) { in udp_input()
H A Din_pcb.c4196 (ifp->if_type == IFT_CELLULAR || IFNET_IS_WIFI(ifp))) { in inp_count_sndbytes()

12