Home
last modified time | relevance | path

Searched refs:ETHERTYPE_IP (Results 1 – 14 of 14) sorted by relevance

/xnu-11215.1.10/bsd/net/
H A Dether_inet_pr_module.c132 ntohs(ea->arp_pro) != ETHERTYPE_IP || in ether_inet_arp_input()
199 if (__probable(eh->ether_type == htons(ETHERTYPE_IP))) { in ether_inet_input()
266 u_int16_t ethertype_ip = htons(ETHERTYPE_IP); in ether_inet_pre_output()
468 ea->arp_pro = htons(ETHERTYPE_IP); in ether_inet_arp()
564 u_short en_native = htons(ETHERTYPE_IP); in ether_attach_inet()
H A Dethernet.h107 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
H A Dif_llreach.c557 case ETHERTYPE_IP: in ifnet_lr2iflri()
H A Dif_bridge.c188 #define HTONS_ETHERTYPE_IP htons(ETHERTYPE_IP)
4752 case ETHERTYPE_IP:
7875 } else if (eh->ether_type == htons(ETHERTYPE_IP)) {
9764 case ETHERTYPE_IP:
9793 case ETHERTYPE_IP:
9813 case ETHERTYPE_IP:
H A Ddlil.c5018 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq()
5111 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq()
6113 eh.ether_type = htons(ETHERTYPE_IP); in dlil_input_packet_list_common()
H A Dbpf.c3901 } else if (type == ETHERTYPE_IP) { in get_ether_trunc_len()
H A Dif_bond.c1523 case ETHERTYPE_IP: in get_packet_hash()
/xnu-11215.1.10/osfmk/kdp/
H A Dkdp_udp.c178 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
607 eh->ether_type = htons(ETHERTYPE_IP); in kdp_reply()
683 eh->ether_type = htons(ETHERTYPE_IP); in kdp_send()
914 ea->arp_pro = htons(ETHERTYPE_IP); in kdp_arp_reply()
968 if (ntohs(eh->ether_type) != ETHERTYPE_IP) { in kdp_poll()
1041 ea->arp_pro = htons(ETHERTYPE_IP); in transmit_ARP_request()
1609 eh->ether_type = htons(ETHERTYPE_IP); in create_panic_header()
/xnu-11215.1.10/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ethernet.c83 htons(ETHERTYPE_IP) : htons(ETHERTYPE_IPV6)); in fsw_ethernet_ctor()
599 case ETHERTYPE_IP: in fsw_ethernet_demux()
/xnu-11215.1.10/bsd/netinet/
H A Dip_compat.h430 #ifndef ETHERTYPE_IP
431 # define ETHERTYPE_IP ((u_short)0x0800)
H A Din_arp.c453 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen); in arp_llreach_set_reachable()
587 ETHERTYPE_IP, addr, alen, arp_llreach_base); in arp_llreach_alloc()
/xnu-11215.1.10/tests/
H A Dnet_bridge.c540 case ETHERTYPE_IP: in ethernet_frame_validate()
636 arp_p->ar_pro = htons(ETHERTYPE_IP); in ethernet_arp_frame_populate()
678 T_ASSERT_EQ((int)ether_type, ETHERTYPE_IP, NULL); in ethernet_frame_get_udp4_payload()
2029 T_ASSERT_EQ((int)ntohs(eh_p->ether_type), (int)ETHERTYPE_IP, NULL); in validate_mac_nat_dhcp()
H A Dnet_test_lib.c238 eh_p->ether_type = htons(ETHERTYPE_IP); in ethernet_udp4_frame_populate()
/xnu-11215.1.10/bsd/skywalk/nexus/netif/
H A Dnx_netif_netagent.c177 ETHERTYPE_IP,