Searched refs:ai_protocol (Results 1 – 9 of 9) sorted by relevance
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 290 if (hints->ai_socktype == ANY || hints->ai_protocol == ANY) return 0; in validateHints() 297 if (hints->ai_socktype == ex.e_socktype && hints->ai_protocol != ex.e_protocol) { in validateHints() 349 if (!MATCH(ai.ai_protocol, ex.e_protocol, WILD_PROTOCOL(ex))) continue; in android_getaddrinfofornetcontext() 354 if (tmp.ai_protocol == ANY && ex.e_protocol != ANY) tmp.ai_protocol = ex.e_protocol; in android_getaddrinfofornetcontext() 357 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext() 423 if (!MATCH(ai.ai_protocol, ex.e_protocol, WILD_PROTOCOL(ex))) continue; in resolv_getaddrinfo() 427 if (tmp.ai_protocol == ANY && ex.e_protocol != ANY) tmp.ai_protocol = ex.e_protocol; in resolv_getaddrinfo() 430 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in resolv_getaddrinfo()
|
D | DnsProxyListener.cpp | 469 << " " << ai->ai_socktype << " " << ai->ai_protocol << " " << ip_addr; in logDnsQueryResult() 575 sa->ai_protocol = cur4->ai_protocol; in synthesizeNat64PrefixWithARecord() 844 sendBE32(c, ai->ai_socktype) && sendBE32(c, ai->ai_protocol); in sendaddrinfo() 1001 int ai_protocol = 0; in runCommand() local 1018 if (!ParseInt(argv[6], &ai_protocol)) in runCommand() 1034 if (ai_flags != -1 || ai_family != -1 || ai_socktype != -1 || ai_protocol != -1) { in runCommand() 1039 hints->ai_protocol = ai_protocol; in runCommand()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 425 .ai_protocol = IPPROTO_UDP, in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 440 int fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 443 res->ai_family, res->ai_socktype, res->ai_protocol, errno); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 109 android::base::unique_fd s(socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol)); in startServer() 143 backend_ai_res->ai_protocol)); in startServer()
|
D | dns_responder.cpp | 1231 unique_fd fd(socket(ai->ai_family, ai->ai_socktype | SOCK_NONBLOCK, ai->ai_protocol)); in createListeningSocket()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 215 .ai_protocol = ANY, in TEST_F() 256 .ai_protocol = protocol, in TEST_F() 315 .ai_protocol = protocol, in TEST_F()
|
D | resolv_gold_test.cpp | 196 .ai_protocol = args.protocol(), in VerifyGetAddrInfo()
|
D | resolv_integration_test.cpp | 3608 .ai_protocol = 0, // any protocol in TEST_F()
|
/packages/modules/adb/ |
D | sysdeps_win32.cpp | 1138 hints.ai_protocol = GetSocketProtocolFromSocketType(type); in network_connect() 1168 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()
|