Home
last modified time | relevance | path

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

/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()
173 if (arp_hdr->ar_op == htons(ARPOP_REQUEST)) TT.rcvd_req++; in recv_from()
/external/iptables/iptables/
Dnft-arp.c174 add_payload(r, offsetof(struct arphdr, ar_op), 2, in nft_arp_add()
301 uint16_t ar_hrd, ar_pro, ar_op; in nft_arp_parse_payload() local
320 case offsetof(struct arphdr, ar_op): in nft_arp_parse_payload()
321 get_cmp_data(e, &ar_op, sizeof(ar_op), &inv); in nft_arp_parse_payload()
322 fw->arp.arpop = ar_op; in nft_arp_parse_payload()
/external/kernel-headers/original/uapi/linux/
Dif_arp.h149 __be16 ar_op; /* ARP opcode (command) */ member
/external/libnl/include/linux-private/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/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/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/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs453 pub ar_op: u16,
657 && self.ar_op == other.ar_op
665 let ar_op = self.ar_op; localVariable
671 .field("ar_op", &ar_op)
679 let ar_op = self.ar_op; localVariable
684 ar_op.hash(state);
/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/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs337 pub ar_op: u16,
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs237 pub ar_op: u16,
/external/rust/crates/libc/src/unix/linux_like/
Dmod.rs197 pub ar_op: u16,
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs512 pub ar_op: u16,