Searched refs:ETHERTYPE_IP (Results 1 - 9 of 9) sorted by relevance

/xnu-2422.115.4/bsd/net/
H A Dethernet.h101 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
H A Dether_inet_pr_module.c129 ntohs(ea->arp_pro) != ETHERTYPE_IP ||
194 if (eh->ether_type == htons(ETHERTYPE_IP)) {
253 u_int16_t ethertype_ip = htons(ETHERTYPE_IP);
450 ea->arp_pro = htons(ETHERTYPE_IP);
546 u_short en_native = htons(ETHERTYPE_IP);
H A Dif_llreach.c580 case ETHERTYPE_IP:
H A Dif_bridge.c3740 case ETHERTYPE_IP:
5186 case ETHERTYPE_IP:
5216 case ETHERTYPE_IP:
5276 case ETHERTYPE_IP:
H A Dif_bond.c1498 case ETHERTYPE_IP:
/xnu-2422.115.4/osfmk/kdp/
H A Dkdp_udp.c172 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
639 eh->ether_type = htons(ETHERTYPE_IP);
708 eh->ether_type = htons(ETHERTYPE_IP);
926 ea->arp_pro = htons(ETHERTYPE_IP);
980 if (ntohs(eh->ether_type) != ETHERTYPE_IP) {
1054 ea->arp_pro = htons(ETHERTYPE_IP);
1604 eh->ether_type = htons(ETHERTYPE_IP);
/xnu-2422.115.4/bsd/netinet/
H A Dip_compat.h428 #ifndef ETHERTYPE_IP
429 # define ETHERTYPE_IP ((u_short)0x0800)
H A Din_arp.c362 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen);
484 ETHERTYPE_IP, addr, alen, arp_llreach_base);
H A Dip_fw2.c112 #include <netinet/if_ether.h> /* XXX for ETHERTYPE_IP */
2100 ntohs(args->fwa_eh->ether_type) == ETHERTYPE_IP))

Completed in 170 milliseconds