Searched refs:if6 (Results 1 – 1 of 1) sorted by relevance
1121 struct in6_ifreq if6; in uv_interface_addresses() local1221 memset(&if6, 0, sizeof(if6)); in uv_interface_addresses()1222 r = uv__strscpy(if6.ifr_name, p->ifr_name, sizeof(if6.ifr_name)); in uv_interface_addresses()1226 memcpy(&if6.ifr_Addr, &p->ifr_addr, sizeof(if6.ifr_Addr)); in uv_interface_addresses()1227 if (ioctl(sock6fd, SIOCGIFNETMASK6, &if6) == -1) in uv_interface_addresses()1229 address->netmask.netmask6 = *((struct sockaddr_in6*) &if6.ifr_Addr); in uv_interface_addresses()
Completed in 5 milliseconds