Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/net/
H A Dether_inet_pr_module.c131 ntohs(ea->arp_pro) != ETHERTYPE_IP || in ether_inet_arp_input()
198 if (__probable(eh->ether_type == htons(ETHERTYPE_IP))) { in ether_inet_input()
263 u_int16_t ethertype_ip = htons(ETHERTYPE_IP); in ether_inet_pre_output()
465 ea->arp_pro = htons(ETHERTYPE_IP); in ether_inet_arp()
562 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.c555 case ETHERTYPE_IP: in ifnet_lr2iflri()
H A Dif_bridge.c4397 case ETHERTYPE_IP:
4688 case ETHERTYPE_IP:
7587 if (ea->arp_pro != htons(ETHERTYPE_IP)) {
7637 } else if (eh->ether_type == htons(ETHERTYPE_IP)) {
8137 if (ntohs(ea->arp_pro) != ETHERTYPE_IP) {
8296 case ETHERTYPE_IP:
8787 case ETHERTYPE_IP:
8859 case ETHERTYPE_IP:
9021 case ETHERTYPE_IP:
9266 case ETHERTYPE_IP:
[all …]
H A Dbpf.c3812 } else if (type == ETHERTYPE_IP) { in get_ether_trunc_len()
H A Ddlil.c5419 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq()
5513 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq()
6482 eh.ether_type = htons(ETHERTYPE_IP); in dlil_input_packet_list_common()
H A Dif_bond.c1535 case ETHERTYPE_IP: in bond_output()
/xnu-10063.141.1/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-10063.141.1/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ethernet.c83 htons(ETHERTYPE_IP) : htons(ETHERTYPE_IPV6)); in fsw_ethernet_ctor()
582 case ETHERTYPE_IP: in fsw_ethernet_demux()
/xnu-10063.141.1/bsd/netinet/
H A Dip_compat.h430 #ifndef ETHERTYPE_IP
431 # define ETHERTYPE_IP ((u_short)0x0800)
H A Din_arp.c467 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen); in arp_llreach_set_reachable()
601 ETHERTYPE_IP, addr, alen, arp_llreach_base); in arp_llreach_alloc()
/xnu-10063.141.1/tests/
H A Dnet_test_lib.c101 eh_p->ether_type = htons(ETHERTYPE_IP); in ethernet_udp4_frame_populate()
H A Dnet_bridge.c863 case ETHERTYPE_IP: in ethernet_frame_validate()
959 arp_p->ar_pro = htons(ETHERTYPE_IP); in ethernet_arp_frame_populate()
1001 T_ASSERT_EQ((int)ether_type, ETHERTYPE_IP, NULL); in ethernet_frame_get_udp4_payload()
2358 T_ASSERT_EQ((int)ntohs(eh_p->ether_type), (int)ETHERTYPE_IP, NULL); in validate_mac_nat_dhcp()
/xnu-10063.141.1/bsd/skywalk/nexus/netif/
H A Dnx_netif_netagent.c177 ETHERTYPE_IP,