Lines Matching refs:htons
102 ah->ar_hrd = htons(ARPHRD_ETHER);
103 ah->ar_pro = htons(ETH_P_IP);
106 ah->ar_op = htons(ARPOP_REQUEST);
144 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY)) {
152 if (ah->ar_hrd != htons(FROM->sll_hatype)
153 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER))) {
161 if (ah->ar_pro != htons(ETH_P_IP)
184 ah->ar_op == htons(ARPOP_REPLY) ? "ply" : "quest",
307 me.sll_protocol = htons(ETH_P_ARP);