Searched refs:ar_hrd (Results 1 – 16 of 16) sorted by relevance
47 uint16_t ar_hrd; /* format of hardware address */ member97 if (ntohs(ap->ar_hrd) == ARPHRD_IEEE1394) { in ar_tha()107 if (ntohs(ap->ar_hrd) == ARPHRD_IEEE1394) { in ar_tpa()
180 arph->ar_hrd = htons(ARPHRD_ARCNET); in arc_output()
149 ah->ar_hrd = htons(ARPHRD_IEEE1394); in ieee1394_output()
276 ah->ar_hrd = htons(ARPHRD_ETHER); in ether_output()
82 #define arp_hrd ea_hdr.ar_hrd
544 ah->ar_hrd = htons(ARPHRD_IEEE1394); in arprequest() 547 /* ifp->if_output will fill ar_hrd */ in arprequest() 713 if (ntohs(ar->ar_hrd) == ARPHRD_IEEE1394) in arpintr() 1823 if (ntohs(ar->ar_hrd) == ARPHRD_IEEE1394) {
53 #define aarp_hrd eaa_hdr.ar_hrd
321 if (ntohs(ar->ar_hrd) != AARPHRD_ETHER) in aarpinput()
60 u_short ar_hrd; /* format of hardware address */ member
44 rarp->ar_hrd = 1; /* hardware type is 1 */ in do_rev_arp()
394 ntohs (ap->ar_hrd) != ARPHRD_ETHER ||800 ap->ar_hrd = htons(ARPHRD_ETHER);815 ap->ea_hdr.ar_hrd = htons(ARPHRD_ETHER);
73 #define arp_hrd ea_hdr.ar_hrd
74 #define arp_hrd ea_hdr.ar_hrd
80 ar.ar_hrd = htons(ifp->hwtype); in arp_request()213 if (arp->ar_hrd != htons(ifp->hwtype)) in arp_validate()
449 BPF_STMT(BPF_LD + BPF_H + BPF_IND, offsetof(struct arphdr, ar_hrd)),
468 hrd = ntohs(ar.ar_hrd); in m_examine_arp()