Home
last modified time | relevance | path

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

/netbsd-src/sys/net/
H A Dif_arp.h47 uint16_t ar_hrd; /* format of hardware address */ member
97 if (ntohs(ap->ar_hrd) == ARPHRD_IEEE1394) { in ar_tha()
107 if (ntohs(ap->ar_hrd) == ARPHRD_IEEE1394) { in ar_tpa()
H A Dif_arcsubr.c180 arph->ar_hrd = htons(ARPHRD_ARCNET); in arc_output()
H A Dif_ieee1394subr.c149 ah->ar_hrd = htons(ARPHRD_IEEE1394); in ieee1394_output()
H A Dif_ethersubr.c276 ah->ar_hrd = htons(ARPHRD_ETHER); in ether_output()
/netbsd-src/sys/netinet/
H A Dif_ether.h82 #define arp_hrd ea_hdr.ar_hrd
H A Dif_arp.c544 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) {
/netbsd-src/sys/netatalk/
H A Daarp.h53 #define aarp_hrd eaa_hdr.ar_hrd
H A Daarp.c321 if (ntohs(ar->ar_hrd) != AARPHRD_ETHER) in aarpinput()
/netbsd-src/sys/arch/mvme68k/stand/sboot/
H A Detherfun.h60 u_short ar_hrd; /* format of hardware address */ member
H A Detherfun.c44 rarp->ar_hrd = 1; /* hardware type is 1 */ in do_rev_arp()
/netbsd-src/usr.sbin/rarpd/
H A Drarpd.c394 ntohs (ap->ar_hrd) != ARPHRD_ETHER ||
800 ap->ar_hrd = htons(ARPHRD_ETHER);
815 ap->ea_hdr.ar_hrd = htons(ARPHRD_ETHER);
/netbsd-src/sys/lib/libsa/
H A Drarp.c73 #define arp_hrd ea_hdr.ar_hrd
H A Darp.c74 #define arp_hrd ea_hdr.ar_hrd
/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Darp.c80 ar.ar_hrd = htons(ifp->hwtype); in arp_request()
213 if (arp->ar_hrd != htons(ifp->hwtype)) in arp_validate()
H A Dbpf.c449 BPF_STMT(BPF_LD + BPF_H + BPF_IND, offsetof(struct arphdr, ar_hrd)),
/netbsd-src/sys/kern/
H A Duipc_mbufdebug.c468 hrd = ntohs(ar.ar_hrd); in m_examine_arp()