Lines Matching refs:addrinfoList
809 struct addrinfo* addrinfoList = nullptr; in TEST_F() local
810 int ret = getaddrinfo(kLinkLocalAddress, nullptr, &hints, &addrinfoList); in TEST_F()
811 ScopedAddrinfo addrinfoCleanup(addrinfoList); in TEST_F()
814 socklen_t len = addrinfoList[0].ai_addrlen; in TEST_F()
815 sockaddr_in6 sin6_1 = *reinterpret_cast<sockaddr_in6*>(addrinfoList[0].ai_addr); in TEST_F()
892 struct addrinfo *addrinfoList = nullptr; in interfaceHasAddress() local
899 if (getaddrinfo(addrString, nullptr, &hints, &addrinfoList) != 0 || in interfaceHasAddress()
900 addrinfoList == nullptr || addrinfoList->ai_addr == nullptr) { in interfaceHasAddress()
903 ScopedAddrinfo addrinfoCleanup(addrinfoList); in interfaceHasAddress()
915 addr->ifa_addr->sa_family != addrinfoList->ai_addr->sa_family) { in interfaceHasAddress()
922 auto *want = reinterpret_cast<const struct sockaddr_in*>(addrinfoList->ai_addr); in interfaceHasAddress()
936 auto *want = reinterpret_cast<const struct sockaddr_in6*>(addrinfoList->ai_addr); in interfaceHasAddress()