Lines Matching refs:htons
104 ah->arp_hrd = htons(ARPHRD_ETHER);
105 ah->arp_pro = htons(ETHERTYPE_IP);
108 ah->arp_op = htons(ARPOP_REQUEST);
197 if (ah->arp_hrd != htons(ARPHRD_ETHER) ||
198 ah->arp_pro != htons(ETHERTYPE_IP) ||
210 if (ah->arp_op == htons(ARPOP_REQUEST)) {
220 if (ah->arp_op != htons(ARPOP_REPLY)) {
261 if (arp->arp_hrd != htons(ARPHRD_ETHER) ||
262 arp->arp_pro != htons(ETHERTYPE_IP) ||
273 if (arp->arp_op != htons(ARPOP_REQUEST)) {
291 arp->arp_op = htons(ARPOP_REPLY);