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

/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dethernet.h93 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
H A Dether_inet_pr_module.c139 ntohs(ea->arp_pro) != ETHERTYPE_IP ||
191 if (eh->ether_type == htons(ETHERTYPE_IP)) {
248 *(u_int16_t*)type = htons(ETHERTYPE_IP);
443 ea->arp_pro = htons(ETHERTYPE_IP);
508 u_short en_native=htons(ETHERTYPE_IP);
H A Dif_fddisubr.c180 type = htons(ETHERTYPE_IP);
449 case ETHERTYPE_IP:
H A Dbridge.c703 if (ntohs(save_eh.ether_type) != ETHERTYPE_IP)
H A Dif_bond.c1523 case ETHERTYPE_IP:
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/
H A Dkdp_udp.h131 #define ETHERTYPE_IP 0x0800 /* IP protocol */ macro
H A Dkdp_udp.c427 eh->ether_type = htons(ETHERTYPE_IP);
493 eh->ether_type = htons(ETHERTYPE_IP);
631 ea->arp_pro = htons(ETHERTYPE_IP);
685 if (ntohs(eh->ether_type) != ETHERTYPE_IP) {
757 ea->arp_pro = htons(ETHERTYPE_IP);
1251 eh->ether_type = htons(ETHERTYPE_IP);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_compat.h428 #ifndef ETHERTYPE_IP
429 # define ETHERTYPE_IP ((u_short)0x0800)
H A Dip_fw2.c82 #include <netinet/if_ether.h> /* XXX for ETHERTYPE_IP */
1519 ntohs(args->eh->ether_type) == ETHERTYPE_IP))

Completed in 56 milliseconds