Home
last modified time | relevance | path

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

/system/netd/resolv/
Dlibnetd_resolv_test.cpp131 int ai_flags; in TEST_F() member
139 return StringPrintf("0x%x/%u/%s/%p/%p", ai_flags, ai_addrlen, in TEST_F()
160 .ai_flags = config.ai_flags, in TEST_F()
257 int ai_flags; in TEST_F() member
264 return StringPrintf("0x%x/%d/%d/%s", ai_flags, ai_family, ai_socktype, in TEST_F()
317 .ai_flags = config.ai_flags, in TEST_F()
Dgetaddrinfo.cpp260 hints.ai_flags = AI_NUMERICHOST; in getaddrinfo_numeric()
286 .ai_flags = 0, in android_getaddrinfofornetcontext()
307 if (hints->ai_flags & ~AI_MASK) { in android_getaddrinfofornetcontext()
390 if (ai.ai_flags & AI_NUMERICHOST) { in android_getaddrinfofornetcontext()
511 if (pai->ai_flags & AI_PASSIVE) { in explore_null()
560 if ((pai->ai_flags & AI_CANONNAME)) { in explore_numeric()
651 if ((pai->ai_flags & AI_CANONNAME) != 0) { in get_canonname()
726 if (ai->ai_flags & AI_NUMERICSERV) return EAI_NONAME; in get_port()
1397 if (pai->ai_flags & AI_ADDRCONFIG) { in dns_getaddrinfo()
1530 res->ai_flags = pai->ai_flags; in _gethtent()
[all …]
DDnsProxyListener.cpp403 LOG(DEBUG) << __func__ << ": [" << i << "] " << ai->ai_flags << " " << ai->ai_family in logDnsQueryResult()
572 sendBE32(c, ai->ai_flags) && in sendaddrinfo()
736 int ai_flags = strtol(argv[3], nullptr, 10); in runCommand() local
751 if (ai_flags != -1 || ai_family != -1 || in runCommand()
754 hints->ai_flags = ai_flags; in runCommand()
DPrivateDnsConfiguration.cpp42 addrinfo hints = {.ai_family = AF_UNSPEC, .ai_flags = AI_NUMERICHOST | AI_NUMERICSERV}; in parseServer()
Dresolver_test.cpp842 hints.ai_flags |= AI_NUMERICHOST; in TEST_F()
2808 .ai_flags = config.flag, in TEST_F()
2823 hints.ai_flags = config.flag | AI_NUMERICSERV; in TEST_F()
Dres_cache.cpp1740 .ai_family = AF_UNSPEC, .ai_socktype = SOCK_DGRAM, .ai_flags = AI_NUMERICHOST}; in resolv_set_nameservers_for_net()
/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp97 addrinfo *ai, hints = {.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV}; in checkReachability()
/system/netd/libnetdutils/
DInternetAddresses.cpp60 .ai_flags = AI_NUMERICHOST | AI_NUMERICSERV, in forString()
/system/netd/server/
DNetdConstants.cpp106 .ai_flags = AI_NUMERICHOST, in parsePrefix()
DSockDiag.cpp136 addrinfo hints = { .ai_flags = AI_NUMERICHOST }; in sendDumpRequest()
DSockDiagTest.cpp217 addrinfo hints = { .ai_flags = AI_NUMERICHOST }, *src, *dst; in makeDiagMessage()
DTetherController.cpp363 addrinfo *res, hints = { .ai_flags = AI_NUMERICHOST }; in setDnsForwarders()
/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp195 .ai_flags = AI_PASSIVE in startServer()
Ddns_responder.cpp595 .ai_flags = AI_PASSIVE in startServer()
/system/core/libnetutils/
Difc_utils.c109 hints.ai_flags = AI_NUMERICHOST; in string_to_ip()
/system/netd/tests/
Dbinder_test.cpp789 .ai_flags = AI_NUMERICHOST, in interfaceHasAddress()