Searched refs:arp_sha (Results 1 - 6 of 6) sorted by relevance

/freebsd-9.3-release/lib/libstand/
H A Darp.c114 ah->arp_hln = sizeof(ah->arp_sha); /* hardware address length */
117 MACPY(d->myea, ah->arp_sha);
140 inet_ntoa(addr), ether_sprintf(ah->arp_sha));
143 MACPY(ah->arp_sha, al->ea);
207 ah->arp_hln != sizeof(ah->arp_sha) ||
267 arp->arp_hln != sizeof(arp->arp_sha) ||
291 printf("arp_reply: to %s\n", ether_sprintf(arp->arp_sha));
297 bcopy(arp->arp_sha, arp->arp_tha, sizeof(arp->arp_tha));
300 bcopy(d->myea, arp->arp_sha, sizeof(arp->arp_sha));
[all...]
H A Drarp.c100 ap->arp_hln = sizeof(ap->arp_sha); /* hardware address length */
103 bcopy(d->myea, ap->arp_sha, 6);
192 ap->arp_hln != sizeof(ap->arp_sha) ||
H A Dif_ether.h101 u_int8_t arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */ member in struct:ether_arp
/freebsd-9.3-release/sys/netinet/
H A Dif_ether.h81 u_char arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */ member in struct:ether_arp
/freebsd-9.3-release/usr.sbin/rarpd/
H A Drarpd.c496 if (bcmp((char *)&ep->ether_shost, (char *)&ap->arp_sha, 6) != 0) {
500 if (bcmp((char *)&ap->arp_sha, (char *)&ap->arp_tha, 6) != 0) {
826 * arp_sha is the hardware address of the sender of the packet.
830 * protocol address, this, like arp_sha, will be the hardware
836 * arp_sha is the hardware address of the responder (the sender of the
846 * address pair (arp_spa, arp_sha) may eliminate the need for a subsequent
856 update_arptab((u_char *)&ap->arp_sha, ipaddr);
866 bcopy((char *)&ap->arp_sha, (char *)&ep->ether_dhost, 6);
868 bcopy((char *)ii->ii_eaddr, (char *)&ap->arp_sha, 6);
/freebsd-9.3-release/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2104 ep->arp_sha[0] = 0x00;
2105 ep->arp_sha[1] = 0x15;
2106 ep->arp_sha[2] = 0x17;
2107 ep->arp_sha[3] = 0xe9;
2108 ep->arp_sha[4] = 0x30;
2109 ep->arp_sha[5] = 0x68;

Completed in 102 milliseconds