Searched refs:ar_op (Results 1 – 9 of 9) sorted by relevance
114 arp_h->ar_op = (toys.optflags & FLAG_A) ? htons(ARPOP_REPLY) in send_packet()143 if (arp_hdr->ar_op != htons(ARPOP_REQUEST) && in recv_from()144 arp_hdr->ar_op != htons(ARPOP_REPLY)) return; in recv_from()166 arp_hdr->ar_op == htons(ARPOP_REPLY) ? "ply" : "quest", in recv_from()180 if (arp_hdr->ar_op == htons(ARPOP_REQUEST)) TT.rcvd_req++; in recv_from()
60 ar.ar_op = htons(op); in send_arp()135 if (ar.ar_op != htons(ARPOP_REPLY) && in handle_arp_packet()136 ar.ar_op != htons(ARPOP_REQUEST)) in handle_arp_packet()
135 unsigned short ar_op; /* ARP opcode (command) */ member
142 __be16 ar_op; /* ARP opcode (command) */ member
146 __be16 ar_op; /* ARP opcode (command) */ member
285 ah->ar_op = advert ? htons(ARPOP_REPLY) : htons(ARPOP_REQUEST); in send_pack()392 if (ah->ar_op != htons(ARPOP_REQUEST) && in recv_pack()393 ah->ar_op != htons(ARPOP_REPLY)) in recv_pack()443 printf("%s from ", ah->ar_op == htons(ARPOP_REPLY) ? "reply" : "request"); in recv_pack()472 if (ah->ar_op == htons(ARPOP_REQUEST)) in recv_pack()
448 if (a->ar_op != htons(ARPOP_RREQUEST)) in serve_it()520 a->ar_op = htons(ARPOP_RREPLY); in serve_it()
64 u_short ar_op; /* one of: */ member94 #define OP(ap) EXTRACT_16BITS(&(ap)->ar_op)
215 ah->ar_op = htons(ARPOP_REQUEST); in send_probe()504 (a->ar_op != htons(ARPOP_REQUEST) && in get_arp_pkt()505 a->ar_op != htons(ARPOP_REPLY)) || in get_arp_pkt()