Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dgetaddrinfo.cpp208 struct addrinfo* next = ai->ai_next; in freeaddrinfo()
283 if (hints->ai_addrlen || hints->ai_canonname || hints->ai_addr || hints->ai_next) { in validateHints()
374 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
376 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
380 while (cur->ai_next) cur = cur->ai_next; in android_getaddrinfofornetcontext()
386 if (sentinel.ai_next) break; in android_getaddrinfofornetcontext()
401 freeaddrinfo(sentinel.ai_next); in android_getaddrinfofornetcontext()
404 *res = sentinel.ai_next; in android_getaddrinfofornetcontext()
446 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext, event); in resolv_getaddrinfo()
448 while (cur->ai_next) cur = cur->ai_next; in resolv_getaddrinfo()
[all …]
DDnsProxyListener.cpp185 for (const addrinfo* ai = result; ai; ai = ai->ai_next) { in extractGetAddrInfoAnswers()
394 for (const addrinfo* ai = res; ai; ai = ai->ai_next) in onlyIPv4Answers()
431 for (const addrinfo* ai = res; ai; ai = ai->ai_next) { in onlyNonSpecialUseIPv4Addresses()
461 for (ai = res, i = 0; ai; ai = ai->ai_next, i++) { in logDnsQueryResult()
529 for (addrinfo* ai = result; ai; ai = ai->ai_next) { in synthesizeNat64PrefixWithARecord()
769 ai = ai->ai_next; in run()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeDnsJni.c62 current = current->ai_next; in Java_android_net_cts_DnsTest_testNativeDns()
95 current = current->ai_next; in Java_android_net_cts_DnsTest_testNativeDns()
/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp182 addrinfo* ai_next; in TEST_F() member
189 (void*)ai_next); in TEST_F()
216 .ai_next = config.ai_next, in TEST_F()
Dresolv_test_utils.cpp86 for (const auto* aip = ai; aip != nullptr; aip = aip->ai_next) { in ToStrings()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp112 for (const addrinfo* ai = frontend_ai_res; ai; ai = ai->ai_next) { in startServer()
Ddns_responder.cpp1227 for (const addrinfo* ai = ai_res; ai; ai = ai->ai_next) { in createListeningSocket()