Lines Matching defs:arpreq
2664 struct xarpreq arpreq;
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;
2726 BZERO(&arpreq, sizeof (arpreq));
2727 BCOPY(&sin, &arpreq.xarp_pa, sizeof (sin));
2728 arpreq.xarp_ha.sdl_family = AF_LINK;
2730 if (myioctl(ipfd, SIOCDXARP, (caddr_t)&arpreq) < 0) {