Lines Matching refs:PP_HTONS
423 ethhdr->type = PP_HTONS(ETHTYPE_IP);
651 if (ethhdr->type == PP_HTONS(ETHTYPE_VLAN)) {
716 if (ethhdr->type == PP_HTONS(ETHTYPE_VLAN)) {
722 if ((hdr->hwtype != PP_HTONS(HWTYPE_ETHERNET)) ||
725 (hdr->proto != PP_HTONS(ETHTYPE_IP))) {
767 case PP_HTONS(ARP_REQUEST):
818 case PP_HTONS(ARP_REPLY):
1231 hdr->hwtype = PP_HTONS(HWTYPE_ETHERNET);
1232 hdr->proto = PP_HTONS(ETHTYPE_IP);
1237 ethhdr->type = PP_HTONS(ETHTYPE_ARP);
1304 if (type == PP_HTONS(ETHTYPE_VLAN)) {
1349 case PP_HTONS(ETHTYPE_IP):
1367 case PP_HTONS(ETHTYPE_ARP):
1376 case PP_HTONS(ETHTYPE_PPPOEDISC): /* PPP Over Ethernet Discovery Stage */
1380 case PP_HTONS(ETHTYPE_PPPOE): /* PPP Over Ethernet Session Stage */