Searched refs:arpreq (Results 1 – 1 of 1) sorted by relevance
777 struct arpreq arpreq; in uv__set_phys_addr() local787 memset(&arpreq, 0, sizeof(arpreq)); in uv__set_phys_addr()789 struct sockaddr_in* sin = ((struct sockaddr_in*)&arpreq.arp_pa); in uv__set_phys_addr()792 struct sockaddr_in6* sin = ((struct sockaddr_in6*)&arpreq.arp_pa); in uv__set_phys_addr()804 if (ioctl(sockfd, SIOCGARP, (char*)&arpreq) == -1) { in uv__set_phys_addr()808 memcpy(address->phys_addr, arpreq.arp_ha.sa_data, sizeof(address->phys_addr)); in uv__set_phys_addr()
Completed in 5 milliseconds