Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dgetaddrinfo.cpp248 hints.ai_flags = AI_NUMERICHOST; in getaddrinfo_numeric()
271 if (hints->ai_flags & ~AI_MASK) { in validateHints()
377 if (ai.ai_flags & AI_NUMERICHOST) { in android_getaddrinfofornetcontext()
519 if (pai->ai_flags & AI_PASSIVE) { in explore_null()
568 if ((pai->ai_flags & AI_CANONNAME)) { in explore_numeric()
659 if ((pai->ai_flags & AI_CANONNAME) != 0) { in get_canonname()
729 if (ai->ai_flags & AI_NUMERICSERV) return EAI_NONAME; in get_port()
1398 if (pai->ai_flags & AI_ADDRCONFIG) { in dns_getaddrinfo()
1516 res->ai_flags = pai->ai_flags; in _gethtent()
1518 if (pai->ai_flags & AI_CANONNAME) { in _gethtent()
DDnsProxyListener.cpp468 LOG(DEBUG) << __func__ << ": [" << i << "] " << ai->ai_flags << " " << ai->ai_family in logDnsQueryResult()
572 sa->ai_flags = cur4->ai_flags; in synthesizeNat64PrefixWithARecord()
843 bool success = sendBE32(c, ai->ai_flags) && sendBE32(c, ai->ai_family) && in sendaddrinfo()
944 event.set_hints_ai_flags((mHints ? mHints->ai_flags : 0)); in run()
998 int ai_flags = 0; in runCommand() local
1012 if (!ParseInt(argv[3], &ai_flags)) in runCommand()
1034 if (ai_flags != -1 || ai_family != -1 || ai_socktype != -1 || ai_protocol != -1) { in runCommand()
1036 hints->ai_flags = ai_flags; in runCommand()
/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp181 int ai_flags; in TEST_F() member
190 return fmt::format("{:#x}/{}/{}/{}/{}", ai_flags, ai_addrlen, in TEST_F()
212 .ai_flags = config.ai_flags, in TEST_F()
338 int ai_flags; in TEST_F() member
346 return fmt::format("{:#x}/{}/{}/{}", ai_flags, ai_family, ai_socktype, in TEST_F()
387 .ai_flags = config.ai_flags, in TEST_F()
Dresolv_gold_test.cpp193 .ai_flags = args.ai_flags() & ~AI_ADDRCONFIG, in VerifyGetAddrInfo()
Dgolddata.proto160 int32 ai_flags = 5; field
Dresolv_integration_test.cpp1246 hints.ai_flags |= AI_NUMERICHOST; in TEST_F()
3378 .ai_family = config.family, .ai_flags = config.flags, .ai_socktype = SOCK_DGRAM}; in TEST_F()
3605 .ai_flags = config.flag, in TEST_F()
3623 hints.ai_flags = config.flag | AI_NUMERICSERV; in TEST_F()
7404 .ai_flags = AI_ADDRCONFIG, in android_getaddrinfofornet_wrapper()
/packages/modules/DnsResolver/tests/testdata/
Dgetaddrinfo.topsite.facebook.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.wikipedia.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.google.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.yahoo.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.amazon.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.youtube.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.ebay.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.bing.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.reddit.pbtxt12 ai_flags: 1024
Dgetaddrinfo.tls.topsite.google.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.netflix.pbtxt12 ai_flags: 1024
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DInternetAddresses.cpp63 .ai_flags = AI_NUMERICHOST | AI_NUMERICSERV, in forString()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp94 .ai_flags = AI_PASSIVE, in startServer()
Ddns_responder.cpp1217 .ai_flags = AI_PASSIVE, in createListeningSocket()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp422 .ai_flags = AI_ADDRCONFIG, in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()