Searched refs:arp_sha (Results 1 – 5 of 5) sorted by relevance
/freebsd/stand/libsa/ |
H A D | arp.c | 101 ah->arp_hln = sizeof(ah->arp_sha); /* hardware address length */ in arpwhohas() 104 MACPY(d->myea, ah->arp_sha); in arpwhohas() 131 inet_ntoa(addr), ether_sprintf(ah->arp_sha)); in arpwhohas() 134 MACPY(ah->arp_sha, al->ea); in arpwhohas() 194 ah->arp_hln != sizeof(ah->arp_sha) || in arprecv() 258 arp->arp_hln != sizeof(arp->arp_sha) || in arp_reply() 282 printf("arp_reply: to %s\n", ether_sprintf(arp->arp_sha)); in arp_reply() 288 bcopy(arp->arp_sha, arp->arp_tha, sizeof(arp->arp_tha)); in arp_reply() 291 bcopy(d->myea, arp->arp_sha, sizeof(arp->arp_sha)); in arp_reply()
|
H A D | rarp.c | 88 ap->arp_hln = sizeof(ap->arp_sha); /* hardware address length */ in rarp_getipaddress() 91 bcopy(d->myea, ap->arp_sha, 6); in rarp_getipaddress() 176 ap->arp_hln != sizeof(ap->arp_sha) || in rarprecv()
|
/freebsd/usr.sbin/rarpd/ |
H A D | rarpd.c | 487 if (bcmp((char *)&ep->ether_shost, (char *)&ap->arp_sha, 6) != 0) { in rarp_check() 491 if (bcmp((char *)&ap->arp_sha, (char *)&ap->arp_tha, 6) != 0) { in rarp_check() 848 update_arptab((u_char *)&ap->arp_sha, ipaddr); in rarp_reply() 858 bcopy((char *)&ap->arp_sha, (char *)&ep->ether_dhost, 6); in rarp_reply() 860 bcopy((char *)ii->ii_eaddr, (char *)&ap->arp_sha, 6); in rarp_reply()
|
/freebsd/sys/netinet/ |
H A D | if_ether.h | 80 u_char arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */ member
|
/freebsd/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 2097 ep->arp_sha[0] = 0x00; in xnb_add_mbuf_cksum_arp() 2098 ep->arp_sha[1] = 0x15; in xnb_add_mbuf_cksum_arp() 2099 ep->arp_sha[2] = 0x17; in xnb_add_mbuf_cksum_arp() 2100 ep->arp_sha[3] = 0xe9; in xnb_add_mbuf_cksum_arp() 2101 ep->arp_sha[4] = 0x30; in xnb_add_mbuf_cksum_arp() 2102 ep->arp_sha[5] = 0x68; in xnb_add_mbuf_cksum_arp()
|