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()
174 if (arp_hdr->ar_op == htons(ARPOP_REQUEST)) TT.rcvd_req++; in recv_from()
/external/syslinux/gpxe/src/net/
Darp.c147 arphdr->ar_op = htons ( ARPOP_REQUEST ); in arp_resolve()
250 if ( arphdr->ar_op != htons ( ARPOP_REQUEST ) ) in arp_rx()
257 arphdr->ar_op = htons ( ARPOP_REPLY ); in arp_rx()
/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/syslinux/gpxe/src/include/gpxe/
Dif_arp.h63 uint16_t ar_op; member
/external/syslinux/gpxe/src/core/
Dgdbudp.c86 arphdr->ar_op != htons ( ARPOP_REQUEST ) || in gdbudp_recv()
92 arphdr->ar_op = htons ( ARPOP_REPLY ); in gdbudp_recv()
/external/dhcpcd-6.8.2/
Darp.c70 ar.ar_op = htons(ARPOP_REQUEST); in arp_request()
160 if (ar.ar_op != htons(ARPOP_REPLY) && in arp_packet()
161 ar.ar_op != htons(ARPOP_REQUEST)) in arp_packet()
/external/libnl/include/linux-private/linux/
Dif_arp.h142 __be16 ar_op; /* ARP opcode (command) */ member
/external/iproute2/include/linux/
Dif_arp.h146 __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/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/tcpdump/
Dprint-arp.c62 u_short ar_op; /* one of: */ member
92 #define OP(ap) EXTRACT_16BITS(&(ap)->ar_op)
/external/iproute2/misc/
Darpd.c216 ah->ar_op = htons(ARPOP_REQUEST); in send_probe()
509 (a->ar_op != htons(ARPOP_REQUEST) && in get_arp_pkt()
510 a->ar_op != htons(ARPOP_REPLY)) || in get_arp_pkt()
/external/syslinux/gpxe/src/drivers/net/
Dvia-velocity.h1472 u16 ar_op; member