Lines Matching refs:htons
112 ah->arp_hrd = htons(ARPHRD_ETHER);
113 ah->arp_pro = htons(ETHERTYPE_IP);
116 ah->arp_op = htons(ARPOP_REQUEST);
205 if (ah->arp_hrd != htons(ARPHRD_ETHER) ||
206 ah->arp_pro != htons(ETHERTYPE_IP) ||
217 if (ah->arp_op == htons(ARPOP_REQUEST)) {
226 if (ah->arp_op != htons(ARPOP_REPLY)) {
265 if (arp->arp_hrd != htons(ARPHRD_ETHER) ||
266 arp->arp_pro != htons(ETHERTYPE_IP) ||
277 if (arp->arp_op != htons(ARPOP_REQUEST)) {
295 arp->arp_op = htons(ARPOP_REPLY);