Searched refs:ar_op (Results 1 – 16 of 16) sorted by relevance
/external/u-boot/net/ |
D | arp.c | 72 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()
|
D | link_local.c | 252 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()
|
D | rarp.c | 38 if ((ntohs(arp->ar_op) != RARPOP_REPLY) || in rarp_receive() 87 rarp->ar_op = htons(RARPOP_REQUEST); in rarp_request()
|
/external/toybox/toys/pending/ |
D | arping.c | 108 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/ |
D | nft-arp.c | 181 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/ |
D | sandbox.c | 83 if (ntohs(arp->ar_op) == ARPOP_REQUEST) { in sb_eth_send() 102 arp_recv->ar_op = htons(ARPOP_REPLY); in sb_eth_send()
|
D | sandbox-raw.c | 91 arp->ar_op = htons(ARPOP_REPLY); in sb_eth_raw_recv()
|
/external/iputils/ |
D | arping.c | 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()
|
D | rarpd.c | 448 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/ |
D | if_arp.h | 142 __be16 ar_op; /* ARP opcode (command) */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | if_arp.h | 149 __be16 ar_op; /* ARP opcode (command) */ member
|
/external/iproute2/include/uapi/linux/ |
D | if_arp.h | 149 __be16 ar_op; /* ARP opcode (command) */ member
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 293 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/ |
D | arpd.c | 215 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/ |
D | print-arp.c | 62 u_short ar_op; /* one of: */ member 92 #define OP(ap) EXTRACT_16BITS(&(ap)->ar_op)
|
/external/u-boot/include/ |
D | net.h | 413 u16 ar_op; /* Operation */ member
|