Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp740 struct addrinfo *addrinfoList = nullptr; in interfaceHasAddress() local
747 if (getaddrinfo(addrString, nullptr, &hints, &addrinfoList) != 0 || in interfaceHasAddress()
748 addrinfoList == nullptr || addrinfoList->ai_addr == nullptr) { in interfaceHasAddress()
751 ScopedAddrinfo addrinfoCleanup(addrinfoList); in interfaceHasAddress()
763 addr->ifa_addr->sa_family != addrinfoList->ai_addr->sa_family) { in interfaceHasAddress()
770 auto *want = reinterpret_cast<const struct sockaddr_in*>(addrinfoList->ai_addr); in interfaceHasAddress()
784 auto *want = reinterpret_cast<const struct sockaddr_in6*>(addrinfoList->ai_addr); in interfaceHasAddress()