Home
last modified time | relevance | path

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

/external/u-boot/net/
Darp.c72 arp->ar_op = htons(ARPOP_REQUEST); in arp_raw_request()
161 switch (ntohs(arp->ar_op)) { in arp_receive()
166 arp->ar_op = htons(ARPOP_REPLY); in arp_receive()
232 ntohs(arp->ar_op)); in arp_receive()
Dlink_local.c252 ntohs(arp->ar_op)); in link_local_receive_arp()
260 if (arp->ar_op != htons(ARPOP_REQUEST) && in link_local_receive_arp()
261 arp->ar_op != htons(ARPOP_REPLY)) { in link_local_receive_arp()
280 if (arp->ar_op == htons(ARPOP_REQUEST) && in link_local_receive_arp()
Drarp.c38 if ((ntohs(arp->ar_op) != RARPOP_REPLY) || in rarp_receive()
87 rarp->ar_op = htons(RARPOP_REQUEST); in rarp_request()
/external/toybox/toys/pending/
Darping.c108 arp_h->ar_op = (toys.optflags & FLAG_A) ? htons(ARPOP_REPLY) in send_packet()
137 if (arp_hdr->ar_op != htons(ARPOP_REQUEST) && in recv_from()
138 arp_hdr->ar_op != htons(ARPOP_REPLY)) return; in recv_from()
160 arp_hdr->ar_op == htons(ARPOP_REPLY) ? "ply" : "quest", in recv_from()
174 if (arp_hdr->ar_op == htons(ARPOP_REQUEST)) TT.rcvd_req++; in recv_from()
/external/iptables/iptables/
Dnft-arp.c181 add_payload(r, offsetof(struct arphdr, ar_op), 2, in nft_arp_add()
300 unsigned short int ar_hrd, ar_pro, ar_op, ar_hln; in nft_arp_parse_payload() local
318 case offsetof(struct arphdr, ar_op): in nft_arp_parse_payload()
319 get_cmp_data(e, &ar_op, sizeof(ar_op), &inv); in nft_arp_parse_payload()
320 fw->arp.arpop = ar_op; in nft_arp_parse_payload()
326 get_cmp_data(e, &ar_hln, sizeof(ar_op), &inv); in nft_arp_parse_payload()
/external/u-boot/drivers/net/
Dsandbox.c83 if (ntohs(arp->ar_op) == ARPOP_REQUEST) { in sb_eth_send()
102 arp_recv->ar_op = htons(ARPOP_REPLY); in sb_eth_send()
Dsandbox-raw.c91 arp->ar_op = htons(ARPOP_REPLY); in sb_eth_raw_recv()
/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/libnl/include/linux-private/linux/
Dif_arp.h142 __be16 ar_op; /* ARP opcode (command) */ member
/external/kernel-headers/original/uapi/linux/
Dif_arp.h149 __be16 ar_op; /* ARP opcode (command) */ member
/external/iproute2/include/uapi/linux/
Dif_arp.h149 __be16 ar_op; /* ARP opcode (command) */ member
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c293 ntohs(rcvarp_p->hdr.ar_op)); in return_arp_reply()
294 if (rcvarp_p->hdr.ar_op != htons(ARPOP_REQUEST)) in return_arp_reply()
335 sndarp_p->hdr.ar_op = htons(ARPOP_REPLY); in return_arp_reply()
/external/iproute2/misc/
Darpd.c215 ah->ar_op = htons(ARPOP_REQUEST); in send_probe()
502 (a->ar_op != htons(ARPOP_REQUEST) && in get_arp_pkt()
503 a->ar_op != htons(ARPOP_REPLY)) || in get_arp_pkt()
/external/tcpdump/
Dprint-arp.c62 u_short ar_op; /* one of: */ member
92 #define OP(ap) EXTRACT_16BITS(&(ap)->ar_op)
/external/u-boot/include/
Dnet.h413 u16 ar_op; /* Operation */ member