Home
last modified time | relevance | path

Searched refs:addrinfoList (Results 1 – 1 of 1) sorted by relevance

/system/netd/tests/
Dbinder_test.cpp809 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()
[all …]