Home
last modified time | relevance | path

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

/external/u-boot/net/
Drarp.c39 (ntohs(arp->ar_hrd) != ARP_ETHER) || in rarp_receive()
83 rarp->ar_hrd = htons(ARP_ETHER); in rarp_request()
Darp.c68 arp->ar_hrd = htons(ARP_ETHER); in arp_raw_request()
146 if (ntohs(arp->ar_hrd) != ARP_ETHER) in arp_receive()
/external/iptables/iptables/
Dnft-arp.c159 add_payload(r, offsetof(struct arphdr, ar_hrd), 2, in nft_arp_add()
300 unsigned short int ar_hrd, ar_pro, ar_op, ar_hln; in nft_arp_parse_payload() local
304 case offsetof(struct arphdr, ar_hrd): in nft_arp_parse_payload()
305 get_cmp_data(e, &ar_hrd, sizeof(ar_hrd), &inv); in nft_arp_parse_payload()
306 fw->arp.arhrd = ar_hrd; in nft_arp_parse_payload()
/external/iputils/
Darping.c279 ah->ar_hrd = htons(ME->sll_hatype); in send_pack()
280 if (ah->ar_hrd == htons(ARPHRD_FDDI)) in send_pack()
281 ah->ar_hrd = htons(ARPHRD_ETHER); in send_pack()
397 if (ah->ar_hrd != htons(FROM->sll_hatype) && in recv_pack()
398 (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER))) in recv_pack()
Drarpd.c479 if (htons(sll.sll_hatype) != a->ar_hrd) { in serve_it()
482 if (a->ar_hrd == htons(ARPHRD_ETHER) || in serve_it()
483 a->ar_hrd == htons(ARPHRD_IEEE802)) in serve_it()
/external/libnl/include/linux-private/linux/
Dif_arp.h138 __be16 ar_hrd; /* format of hardware address */ member
/external/kernel-headers/original/uapi/linux/
Dif_arp.h145 __be16 ar_hrd; /* format of hardware address */ member
/external/iproute2/include/uapi/linux/
Dif_arp.h145 __be16 ar_hrd; /* format of hardware address */ member
/external/u-boot/drivers/net/
Dsandbox-raw.c87 arp->ar_hrd = htons(ARP_ETHER); in sb_eth_raw_recv()
Dsandbox.c98 arp_recv->ar_hrd = htons(ARP_ETHER); in sb_eth_send()
/external/tcpdump/
Dprint-arp.c51 u_short ar_hrd; /* format of hardware address */ member
89 #define HRD(ap) EXTRACT_16BITS(&(ap)->ar_hrd)
/external/toybox/toys/pending/
Darping.c104 arp_h->ar_hrd = htons(ARPHRD_ETHER); in send_packet()
/external/u-boot/include/
Dnet.h407 u16 ar_hrd; /* Format of hardware address */ member
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c331 sndarp_p->hdr.ar_hrd = htons(ARPHRD_ETHER); in return_arp_reply()
/external/iproute2/misc/
Darpd.c211 ah->ar_hrd = htons(ifr.ifr_hwaddr.sa_family); in send_probe()