Searched refs:ETHTYPE_IP (Results 1 – 4 of 4) sorted by relevance
294 if (ntohs(ethhdr->type) == ETHTYPE_IP) { in snprintf_ip_hdr()319 if (ntohs(ethhdr->type) == ETHTYPE_IP) { in snprintf_icmp_hdr()344 if (ntohs(ethhdr->type) == ETHTYPE_IP) { in snprintf_tcp_hdr()370 if (ntohs(ethhdr->type) == ETHTYPE_IP) { in snprintf_udp_hdr()593 hdr->proto = htons(ETHTYPE_IP); in undiarp_request()1340 (hdr->proto != htons(ETHTYPE_IP))) { in undiarp_input()1490 case ETHTYPE_IP: in undiif_input()
241 case ETHTYPE_IP:
418 ethhdr->type = PP_HTONS(ETHTYPE_IP); in etharp_send_ip()705 (hdr->proto != PP_HTONS(ETHTYPE_IP))) {1171 hdr->proto = PP_HTONS(ETHTYPE_IP);1268 case PP_HTONS(ETHTYPE_IP):
138 #define ETHTYPE_IP 0x0800U macro