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

/darwin-on-arm/xnu/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);
451 ea->arp_pro = htons(ETHERTYPE_IP);
537 u_short en_native = htons(ETHERTYPE_IP);
H A Dif_llreach.c578 case ETHERTYPE_IP:
H A Dif_bridge.c3468 if (eh->ether_type == htons(ETHERTYPE_IP))
4771 case ETHERTYPE_IP:
4801 case ETHERTYPE_IP:
4861 case ETHERTYPE_IP:
H A Dif_bond.c1495 case ETHERTYPE_IP:
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_udp.h132 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
H A Dkdp_udp.c527 eh->ether_type = htons(ETHERTYPE_IP);
596 eh->ether_type = htons(ETHERTYPE_IP);
814 ea->arp_pro = htons(ETHERTYPE_IP);
868 if (ntohs(eh->ether_type) != ETHERTYPE_IP) {
942 ea->arp_pro = htons(ETHERTYPE_IP);
1502 eh->ether_type = htons(ETHERTYPE_IP);
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_compat.h428 #ifndef ETHERTYPE_IP
429 # define ETHERTYPE_IP ((u_short)0x0800)
H A Din_arp.c346 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen);
467 ETHERTYPE_IP, addr, alen, arp_llreach_base);
H A Dip_fw2.c112 #include <netinet/if_ether.h> /* XXX for ETHERTYPE_IP */
2021 ntohs(args->fwa_eh->ether_type) == ETHERTYPE_IP))

Completed in 48 milliseconds