Home
last modified time | relevance | path

Searched refs:ar_op (Results 1 – 9 of 9) sorted by relevance

/external/toybox/toys/pending/
Darping.c114 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()
/external/dhcpcd/
Darp.c60 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()
/external/libnl/include/linux/
Dif_arp.h135 unsigned short ar_op; /* ARP opcode (command) */ member
/external/iproute2/include/linux/
Dif_arp.h142 __be16 ar_op; /* ARP opcode (command) */ member
/external/kernel-headers/original/uapi/linux/
Dif_arp.h146 __be16 ar_op; /* ARP opcode (command) */ member
/external/iputils/
Darping.c285 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()
Drarpd.c448 if (a->ar_op != htons(ARPOP_RREQUEST)) in serve_it()
520 a->ar_op = htons(ARPOP_RREPLY); in serve_it()
/external/tcpdump/
Dprint-arp.c64 u_short ar_op; /* one of: */ member
94 #define OP(ap) EXTRACT_16BITS(&(ap)->ar_op)
/external/iproute2/misc/
Darpd.c215 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()