Home
last modified time | relevance | path

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

12

/xnu-12377.61.12/bsd/net/
H A Dmulticast_list.c113 target_sdl.sdl_type = target_ifp->if_type; in multicast_list_program()
H A Ddlil_output.c144 (ifp->if_type == IFT_CELLULAR || in dlil_output()
181 if (ifp->if_type == IFT_ETHER) { in dlil_output()
274 (ifp->if_type == IFT_CELLULAR || in dlil_output()
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()
1198 switch (ifp->if_type) { in pktap_bpf_tap()
1282 ifp->if_type, ifp->if_xname); in pktap_bpf_tap()
1291 hdr->pth_iftype = ifp->if_type; in pktap_bpf_tap()
1469 hdr->pth_iftype = ifp->if_type; in pktap_bpf_tap_packet()
H A Dether_if_module.c669 if (ifp->if_type == IFT_L2VLAN) { in ether_frameout_extended()
684 if (ifp->if_type == IFT_L2VLAN) { in ether_frameout_extended()
H A Ddroptap.c320 hdr->pth_iftype = ifp->if_type; in droptap_bpf_tap_packet()
426 hdr->pth_iftype = ifp->if_type; in droptap_bpf_tap_mbuf()
H A Ddlil_input.c876 ifp->if_type == IFT_CELLULAR) { in dlil_input_packet_list_common()
891 if (ifp->if_type == IFT_ETHER) { in dlil_input_packet_list_common()
917 switch (ifp->if_type) { in dlil_input_packet_list_common()
H A Diptap.c617 hdr->pth_iftype = ifp != NULL ? ifp->if_type : 0; in iptap_bpf_tap()
H A Dif_var_private.h538 #define if_type if_data.ifi_type macro
1371 ((_ifp)->if_type == IFT_CELLULAR || \
H A Dkpi_interface.c332 ifp->if_type = (u_char)einit.type; in ifnet_allocate_extended()
3303 ifp->if_delegated.type = delegated_ifp->if_type; in ifnet_set_delegate()
3315 delegated_ifp->if_type, delegated_ifp->if_family, in ifnet_set_delegate()
3482 if (ifp->if_type == IFT_CELLULAR) { in ifnet_link_status_report()
H A Ddlil_subr.c328 addr_sdl->sdl_type = ifp->if_type; in dlil_alloc_lladdr()
H A Dbridgestp.c2215 if (ifp->if_type != IFT_ETHER) { in bstp_reinit()
2377 switch (ifp->if_type) { in bstp_enable()
H A Ddlil.c616 switch (ifp->if_type) { in dlil_attach_netif_compat_nexus()
4940 if (ll_addr != NULL && ifp->if_type == IFT_ETHER && in ifnet_attach()
6438 if ((ifp->if_type != IFT_CELLULAR) && in if_state_update()
6585 } else if (ifp->if_type == IFT_ETHER && any_ether_index == 0) { in get_ether_index()
6713 kev_sdl->sdl_type = ifp->if_type; in dlil_node_absent()
6739 kev_sdl->sdl_type = ifp->if_type; in dlil_node_present_v2()
H A Dif.c916 (ifp->if_type == IFT_CELLULAR || in if_functional_type()
4199 ifr->ifr_type.ift_type = ifp->if_type; in ifioctl_ifreq()
H A Dbpf.c3388 if (bp->bif_ifp->if_type == IFT_PKTAP && in bpf_tap_imp()
/xnu-12377.61.12/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.c1197 dr->ifp->if_type == IFT_CELLULAR) { in nd6_service_expired_default_router()
1303 dr->ifp->if_type == IFT_CELLULAR) { in nd6_service_expired_route_info()
2830 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest()
2885 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest()
4428 switch (ifp->if_type) { in nd6_need_cache()
H A Dnd6.h915 switch (ifp->if_type) { in nd6_ifptomac()
H A Dip6_input.c710 rin6->ro_rt->rt_ifp->if_type == IFT_LOOP) { in ip6_input_check_interface()
1181 if (inifp->if_type == IFT_CELLULAR && in ip6_input()
H A Din6.c3949 switch (ifp->if_type) { in in6if_do_dad()
4023 switch (ifp->if_type) { in in6_if2idlen()
4074 ifp->if_type); in in6_if2idlen()
H A Dnd6_nbr.c2140 switch (ifp->if_type) { in nd6_dad_duplicated()
2494 sdl->sdl_type = ifp->if_type; in nd6_alt_node_addr_decompose()
H A Dnd6_rtr.c1060 if (new->ifp->if_type == IFT_CELLULAR && in defrouter_addreq()
1743 if (dr->ifp->if_type != IFT_CELLULAR && in defrouter_select()
3245 if (ifp != NULL && ifp->if_type == IFT_CELLULAR) { in find_pfxlist_reachable_router()
/xnu-12377.61.12/bsd/netinet/
H A Din_arp.c923 SDL(gate)->sdl_type = rt->rt_ifp->if_type; in arp_rtrequest()
959 SDL(gate)->sdl_type = rt->rt_ifp->if_type; in arp_rtrequest()
1681 if (ifp->if_type == IFT_BRIDGE) { in arp_ip_handle_input()
H A Dtcp_input.c3095 if (m->m_pkthdr.rcvif && m->m_pkthdr.rcvif->if_type != IFT_LOOP) { in tcp_input()
7146 if (ifp->if_type == IFT_PPP && slowlink_wsize > 0 && in tcp_mss()
7333 if (rt->rt_ifp->if_type == IFT_PPP && slowlink_wsize > 0 && in tcp_mssopt()
H A Dudp_usrreq.c766 if (ifp && ifp->if_type != IFT_LOOP) { in udp_input()
H A Din_pcb.c4176 (ifp->if_type == IFT_CELLULAR || IFNET_IS_WIFI(ifp))) { in inp_count_sndbytes()

12