Searched refs:ai_socktype (Results 1 – 11 of 11) sorted by relevance
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 295 switch (hints->ai_socktype) { in validateHints() 305 if (hints->ai_socktype == ANY || hints->ai_protocol == ANY) return 0; in validateHints() 312 if (hints->ai_socktype == ex.e_socktype && hints->ai_protocol != ex.e_protocol) { in validateHints() 363 if (!MATCH(ai.ai_socktype, ex.e_socktype, WILD_SOCKTYPE(ex))) continue; in android_getaddrinfofornetcontext() 368 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in android_getaddrinfofornetcontext() 372 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext() 436 if (!MATCH(ai.ai_socktype, ex.e_socktype, WILD_SOCKTYPE(ex))) continue; in resolv_getaddrinfo() 441 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in resolv_getaddrinfo() 445 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in resolv_getaddrinfo() 729 switch (ai->ai_socktype) { in get_port() [all …]
|
D | DnsProxyListener.cpp | 468 << " " << ai->ai_socktype << " " << ai->ai_protocol; in logDnsQueryResult() 658 sendBE32(c, ai->ai_socktype) && sendBE32(c, ai->ai_protocol); in sendaddrinfo() 825 int ai_socktype = strtol(argv[5], nullptr, 10); in runCommand() local 839 if (ai_flags != -1 || ai_family != -1 || ai_socktype != -1 || ai_protocol != -1) { in runCommand() 843 hints->ai_socktype = ai_socktype; in runCommand()
|
D | res_cache.cpp | 1590 .ai_socktype = SOCK_DGRAM, in isValidServer()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 100 .ai_socktype = SOCK_STREAM, in startServer() 113 android::base::unique_fd s(socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol)); in startServer() 136 addrinfo backend_ai_hints{.ai_family = AF_UNSPEC, .ai_socktype = SOCK_DGRAM}; in startServer() 146 backend_socket_.reset(socket(backend_ai_res->ai_family, backend_ai_res->ai_socktype, in startServer()
|
D | dns_responder.cpp | 1216 .ai_socktype = socket_type, in createListeningSocket() 1229 socket(ai->ai_family, ai->ai_socktype | SOCK_NONBLOCK, ai->ai_protocol)); in createListeningSocket()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 211 .ai_socktype = ANY, in TEST_F() 252 .ai_socktype = socktype, in TEST_F() 311 .ai_socktype = socktype, in TEST_F() 337 int ai_socktype; in TEST_F() member 343 return StringPrintf("0x%x/%d/%d/%s", ai_flags, ai_family, ai_socktype, in TEST_F() 386 .ai_socktype = config.ai_socktype, in TEST_F() 991 const addrinfo hints = {.ai_family = family, .ai_socktype = SOCK_STREAM}; in TEST_F()
|
D | resolv_integration_test.cpp | 810 .ai_socktype = SOCK_PACKET, in TEST_F() 1132 const addrinfo hints = {.ai_family = AF_INET6, .ai_socktype = SOCK_STREAM}; in TEST_F() 1235 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 1290 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 1420 const addrinfo hints = {.ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM}; in TEST_F() 1467 const addrinfo hints = {.ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM}; in TEST_F() 1722 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 1768 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 2989 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 3043 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() [all …]
|
D | resolv_gold_test.cpp | 195 .ai_socktype = args.socktype(), in VerifyGetAddrInfo() 379 const addrinfo hints = {.ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM}; in TEST_F()
|
D | dnsresolver_binder_test.cpp | 397 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 401 .ai_socktype = SOCK_DGRAM, in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 417 int fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 420 res->ai_family, res->ai_socktype, res->ai_protocol, errno); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
|
/packages/modules/adb/ |
D | sysdeps_win32.cpp | 1137 hints.ai_socktype = type; in network_connect() 1168 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()
|