Searched refs:arp_sha (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.1-release/lib/libstand/ |
H A D | arp.c | 114 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 D | rarp.c | 100 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) ||
|
/freebsd-10.1-release/sys/netinet/ |
H A D | if_ether.h | 81 u_char arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */ member in struct:ether_arp
|
/freebsd-10.1-release/usr.sbin/rarpd/ |
H A D | rarpd.c | 495 if (bcmp((char *)&ep->ether_shost, (char *)&ap->arp_sha, 6) != 0) { 499 if (bcmp((char *)&ap->arp_sha, (char *)&ap->arp_tha, 6) != 0) { 824 * arp_sha is the hardware address of the sender of the packet. 828 * protocol address, this, like arp_sha, will be the hardware 834 * arp_sha is the hardware address of the responder (the sender of the 844 * address pair (arp_spa, arp_sha) may eliminate the need for a subsequent 854 update_arptab((u_char *)&ap->arp_sha, ipaddr); 864 bcopy((char *)&ap->arp_sha, (char *)&ep->ether_dhost, 6); 866 bcopy((char *)ii->ii_eaddr, (char *)&ap->arp_sha, 6);
|
/freebsd-10.1-release/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 2110 ep->arp_sha[0] = 0x00; 2111 ep->arp_sha[1] = 0x15; 2112 ep->arp_sha[2] = 0x17; 2113 ep->arp_sha[3] = 0xe9; 2114 ep->arp_sha[4] = 0x30; 2115 ep->arp_sha[5] = 0x68;
|
Completed in 107 milliseconds