Lines Matching defs:ar
119 struct xarpreq ar;
124 memset(&ar, 0, sizeof (ar));
128 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&ar.xarp_pa;
134 struct sockaddr_in *sin = (struct sockaddr_in *)&ar.xarp_pa;
142 ar.xarp_ha.sdl_family = AF_LINK;
143 rc = ioctl(sd, SIOCGXARP, (caddr_t)&ar);
147 if (ar.xarp_flags & ATF_COM) { /* use the MAC address */
148 uchar_t *ea = (uchar_t *)LLADDR(&ar.xarp_ha);
150 addr_to_string("LLADDR-", ea, ar.xarp_ha.sdl_alen,
157 struct sockaddr_in *sin = (struct sockaddr_in *)&ar.xarp_pa;