/titanic_44/usr/src/lib/libbc/inc/include/sys/ |
H A D | sockio.h | 55 #define SIOCSARP _IOW('i', 30, struct arpreq) /* set arp entry */ 56 #define SIOCGARP _IOWR('i',31, struct arpreq) /* get arp entry */ 57 #define SIOCDARP _IOW('i', 32, struct arpreq) /* delete arp entry */
|
/titanic_44/usr/src/grub/grub-0.97/netboot/ |
H A D | nic.c | 300 struct arprequest arpreq; in ip_transmit() local 336 arpreq.hwtype = htons(1); in ip_transmit() 337 arpreq.protocol = htons(IP); in ip_transmit() 338 arpreq.hwlen = ETH_ALEN; in ip_transmit() 339 arpreq.protolen = 4; in ip_transmit() 340 arpreq.opcode = htons(ARP_REQUEST); in ip_transmit() 341 memcpy(arpreq.shwaddr, arptable[ARP_CLIENT].node, ETH_ALEN); in ip_transmit() 342 memcpy(arpreq.sipaddr, &arptable[ARP_CLIENT].ipaddr, sizeof(in_addr)); in ip_transmit() 343 memset(arpreq.thwaddr, 0, ETH_ALEN); in ip_transmit() 344 memcpy(arpreq.tipaddr, &destip, sizeof(in_addr)); in ip_transmit() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | sockio.h | 106 #define SIOCSARP _IOW('i', 30, struct arpreq) /* set arp entry */ 107 #define SIOCGARP _IOWR('i', 31, struct arpreq) /* get arp entry */ 108 #define SIOCDARP _IOW('i', 32, struct arpreq) /* delete arp entry */
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 2664 struct xarpreq arpreq; local 2678 BZERO(&arpreq, sizeof (arpreq)); 2679 if (!get_ether_addr(hisaddr, &arpreq.xarp_ha, quietflag)) { 2682 BCOPY(&sin, &arpreq.xarp_pa, sizeof (sin)); 2683 arpreq.xarp_flags = ATF_PERM | ATF_PUBL; 2684 arpreq.xarp_ha.sdl_family = AF_LINK; 2686 if (myioctl(ipfd, SIOCSXARP, (caddr_t)&arpreq) < 0) { 2691 cp = (const uchar_t *)LLADDR(&arpreq.xarp_ha); 2692 str = _link_ntoa(cp, str, arpreq.xarp_ha.sdl_alen, IFT_OTHER); 2714 struct xarpreq arpreq; local [all …]
|
/titanic_44/usr/src/lib/libbc/inc/include/net/ |
H A D | if_arp.h | 66 struct arpreq { struct
|
/titanic_44/usr/src/uts/common/net/ |
H A D | if_arp.h | 86 struct arpreq { struct
|
/titanic_44/usr/src/lib/libuuid/common/ |
H A D | etheraddr.c | 53 struct arpreq ar; in arp_get()
|
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 1387 struct arpreq arpreq; in smb_send_node_status_response() local 1442 s_in = (struct sockaddr_in *)&arpreq.arp_pa; in smb_send_node_status_response() 1445 if (ioctl(s, SIOCGARP, (caddr_t)&arpreq) < 0) { in smb_send_node_status_response() 1448 bcopy(&arpreq.arp_ha.sa_data, scan, 6); in smb_send_node_status_response()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 2820 struct arpreq ar; in arp_for_ether()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 8177 struct arpreq *ar; in ip_sioctl_arp() 8216 ar = (struct arpreq *)mp->b_cont->b_cont->b_rptr; in ip_sioctl_arp() 8421 struct arpreq *ar; in ip_extract_arpreq() 8448 ASSERT(MBLKL(mp1) >= sizeof (struct arpreq)); in ip_extract_arpreq() 8449 ar = (struct arpreq *)mp1->b_rptr; in ip_extract_arpreq() 9206 struct arpreq *ar; in ip_sioctl_garp_reply() 9227 ar = (struct arpreq *)tmp->b_rptr; in ip_sioctl_garp_reply()
|
H A D | ip.c | 842 /* 030 */ { SIOCSARP, sizeof (struct arpreq), IPI_PRIV | IPI_WR, 844 /* 031 */ { SIOCGARP, sizeof (struct arpreq), IPI_GET_CMD, 846 /* 032 */ { SIOCDARP, sizeof (struct arpreq), IPI_PRIV | IPI_WR,
|