Searched refs:punicast (Results 1 – 1 of 1) sorted by relevance
80 auto punicast = pcurraddrs->FirstUnicastAddress; in GetAllInterfaces() local81 if (punicast != nullptr) { in GetAllInterfaces()82 for (int i = 0; punicast != nullptr; ++i) { in GetAllInterfaces()83 if (punicast->Address.lpSockaddr->sa_family == AF_INET) { in GetAllInterfaces()84 sockaddr_in* sa_in = (sockaddr_in*)punicast->Address.lpSockaddr; in GetAllInterfaces()88 OSP_DVLOG << "\t prefixsize=" << (unsigned int)punicast->OnLinkPrefixLength; in GetAllInterfaces()91 info.addresses.emplace_back(ip, punicast->OnLinkPrefixLength); in GetAllInterfaces()92 } else if (punicast->Address.lpSockaddr->sa_family == AF_INET6) { in GetAllInterfaces()93 sockaddr_in6* sa_in6 = (sockaddr_in6*)punicast->Address.lpSockaddr; in GetAllInterfaces()97 OSP_DVLOG << "\t prefixsize=" << (unsigned int)punicast->OnLinkPrefixLength; in GetAllInterfaces()[all …]