Searched refs:arpreq (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/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() 343 memset(arpreq.thwaddr, 0, ETH_ALEN); in ip_transmit() 344 memcpy(arpreq.tipaddr, &destip, sizeof(in_addr)); in ip_transmit() 347 eth_transmit(broadcast, ARP, sizeof(arpreq), in ip_transmit() 348 &arpreq); in ip_transmit() [all …]
|
/illumos-gate/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 */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 2605 struct xarpreq arpreq; local 2619 BZERO(&arpreq, sizeof (arpreq)); 2623 BCOPY(&sin, &arpreq.xarp_pa, sizeof (sin)); 2624 arpreq.xarp_flags = ATF_PERM | ATF_PUBL; 2625 arpreq.xarp_ha.sdl_family = AF_LINK; 2627 if (myioctl(ipfd, SIOCSXARP, (caddr_t)&arpreq) < 0) { 2632 cp = (const uchar_t *)LLADDR(&arpreq.xarp_ha); 2655 struct xarpreq arpreq; local 2667 BZERO(&arpreq, sizeof (arpreq)); 2668 BCOPY(&sin, &arpreq.xarp_pa, sizeof (sin)); [all …]
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | if_arp.h | 86 struct arpreq { struct
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | if_arp.h | 88 struct arpreq { struct
|
/illumos-gate/usr/src/lib/libuuid/common/ |
H A D | etheraddr.c | 51 struct arpreq ar; in arp_get()
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 1385 struct arpreq arpreq; in smb_send_node_status_response() local 1440 s_in = (struct sockaddr_in *)&arpreq.arp_pa; in smb_send_node_status_response() 1443 if (ioctl(s, SIOCGARP, (caddr_t)&arpreq) < 0) { in smb_send_node_status_response() 1446 bcopy(&arpreq.arp_ha.sa_data, scan, 6); in smb_send_node_status_response()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 2821 struct arpreq ar; in arp_for_ether()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 8185 struct arpreq *ar; in ip_sioctl_arp() 8224 ar = (struct arpreq *)mp->b_cont->b_cont->b_rptr; in ip_sioctl_arp() 8429 struct arpreq *ar; in ip_extract_arpreq() 8456 ASSERT(MBLKL(mp1) >= sizeof (struct arpreq)); in ip_extract_arpreq() 8457 ar = (struct arpreq *)mp1->b_rptr; in ip_extract_arpreq() 9214 struct arpreq *ar; in ip_sioctl_garp_reply() 9235 ar = (struct arpreq *)tmp->b_rptr; in ip_sioctl_garp_reply()
|
H A D | ip.c | 845 /* 030 */ { SIOCSARP, sizeof (struct arpreq), IPI_PRIV | IPI_WR, 847 /* 031 */ { SIOCGARP, sizeof (struct arpreq), IPI_GET_CMD, 849 /* 032 */ { SIOCDARP, sizeof (struct arpreq), IPI_PRIV | IPI_WR,
|