Lines Matching refs:htons
137 ah->arp_hrd = htons(ARPHRD_ETHER);
138 ah->arp_pro = htons(ETHERTYPE_IP);
141 ah->arp_op = htons(ARPOP_REQUEST);
221 if (ah->arp_hrd != htons(ARPHRD_ETHER) ||
222 ah->arp_pro != htons(ETHERTYPE_IP) ||
233 if (ah->arp_op == htons(ARPOP_REQUEST)) {
242 if (ah->arp_op != htons(ARPOP_REPLY)) {
279 if (arp->arp_hrd != htons(ARPHRD_ETHER) ||
280 arp->arp_pro != htons(ETHERTYPE_IP) ||
291 if (arp->arp_op != htons(ARPOP_REQUEST)) {
309 arp->arp_op = htons(ARPOP_REPLY);