Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/net/
H A Dether_inet_pr_module.c129 ntohs(ea->arp_pro) != ETHERTYPE_IP || in ether_inet_arp_input()
194 if (eh->ether_type == htons(ETHERTYPE_IP)) { in ether_inet_input()
255 u_int16_t ethertype_ip = htons(ETHERTYPE_IP); in ether_inet_pre_output()
458 ea->arp_pro = htons(ETHERTYPE_IP); in ether_inet_arp()
556 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.c556 case ETHERTYPE_IP: in ifnet_lr2iflri()
H A Dif_bridge.c4214 case ETHERTYPE_IP:
4505 case ETHERTYPE_IP:
7369 if (ea->arp_pro != htons(ETHERTYPE_IP)) {
7416 } else if (eh->ether_type == htons(ETHERTYPE_IP)) {
7887 if (ntohs(ea->arp_pro) != ETHERTYPE_IP) {
8046 case ETHERTYPE_IP:
8503 case ETHERTYPE_IP:
8575 case ETHERTYPE_IP:
8736 case ETHERTYPE_IP:
8981 case ETHERTYPE_IP:
[all …]
H A Dbpf.c3266 } else if (type == ETHERTYPE_IP) { in get_ether_trunc_len()
H A Ddlil.c4966 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq()
5060 if (etype == ETHERTYPE_IP) { in ifnet_enqueue_ifclassq()
5992 eh.ether_type = htons(ETHERTYPE_IP); in dlil_input_packet_list_common()
H A Dif_bond.c1539 case ETHERTYPE_IP: in bond_output()
/xnu-8020.101.4/osfmk/kdp/
H A Dkdp_udp.c176 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
605 eh->ether_type = htons(ETHERTYPE_IP); in kdp_reply()
681 eh->ether_type = htons(ETHERTYPE_IP); in kdp_send()
912 ea->arp_pro = htons(ETHERTYPE_IP); in kdp_arp_reply()
966 if (ntohs(eh->ether_type) != ETHERTYPE_IP) { in kdp_poll()
1039 ea->arp_pro = htons(ETHERTYPE_IP); in transmit_ARP_request()
1607 eh->ether_type = htons(ETHERTYPE_IP); in create_panic_header()
/xnu-8020.101.4/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ethernet.c82 htons(ETHERTYPE_IP) : htons(ETHERTYPE_IPV6)); in fsw_ethernet_ctor()
586 case ETHERTYPE_IP: in fsw_ethernet_demux()
/xnu-8020.101.4/bsd/netinet/
H A Dip_compat.h430 #ifndef ETHERTYPE_IP
431 # define ETHERTYPE_IP ((u_short)0x0800)
H A Din_arp.c466 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen); in arp_llreach_set_reachable()
600 ETHERTYPE_IP, addr, alen, arp_llreach_base); in arp_llreach_alloc()
/xnu-8020.101.4/tests/
H A Dnet_bridge.c959 case ETHERTYPE_IP: in ethernet_frame_validate()
1010 eh_p->ether_type = htons(ETHERTYPE_IP); in ethernet_udp4_frame_populate()
1187 arp_p->ar_pro = htons(ETHERTYPE_IP); in ethernet_arp_frame_populate()
1229 T_ASSERT_EQ((int)ether_type, ETHERTYPE_IP, NULL); in ethernet_frame_get_udp4_payload()
2585 T_ASSERT_EQ((int)ntohs(eh_p->ether_type), (int)ETHERTYPE_IP, NULL); in validate_mac_nat_dhcp()
/xnu-8020.101.4/bsd/skywalk/nexus/netif/
H A Dnx_netif_netagent.c211 ETHERTYPE_IP,