Searched refs:ai_socktype (Results 1 – 9 of 9) sorted by relevance
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 296 switch (hints->ai_socktype) { in validateHints() 306 if (hints->ai_socktype == ANY || hints->ai_protocol == ANY) return 0; in validateHints() 313 if (hints->ai_socktype == ex.e_socktype && hints->ai_protocol != ex.e_protocol) { in validateHints() 364 if (!MATCH(ai.ai_socktype, ex.e_socktype, WILD_SOCKTYPE(ex))) continue; in android_getaddrinfofornetcontext() 369 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in android_getaddrinfofornetcontext() 373 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext() 437 if (!MATCH(ai.ai_socktype, ex.e_socktype, WILD_SOCKTYPE(ex))) continue; in resolv_getaddrinfo() 442 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in resolv_getaddrinfo() 446 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in resolv_getaddrinfo() 730 switch (ai->ai_socktype) { in get_port() [all …]
|
D | resolv_unit_test.cpp | 209 .ai_socktype = ANY, in TEST_F() 250 .ai_socktype = socktype, in TEST_F() 309 .ai_socktype = socktype, in TEST_F() 335 int ai_socktype; in TEST_F() member 341 return StringPrintf("0x%x/%d/%d/%s", ai_flags, ai_family, ai_socktype, in TEST_F() 384 .ai_socktype = config.ai_socktype, in TEST_F() 989 const addrinfo hints = {.ai_family = family, .ai_socktype = SOCK_STREAM}; in TEST_F()
|
D | DnsProxyListener.cpp | 458 << " " << ai->ai_socktype << " " << ai->ai_protocol; in logDnsQueryResult() 640 sendBE32(c, ai->ai_socktype) && in sendaddrinfo() 822 int ai_socktype = strtol(argv[5], nullptr, 10); in runCommand() local 836 ai_socktype != -1 || ai_protocol != -1) { in runCommand() 840 hints->ai_socktype = ai_socktype; in runCommand()
|
D | res_cache.cpp | 1552 .ai_socktype = SOCK_DGRAM, in isValidServer()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 99 .ai_socktype = SOCK_STREAM, in startServer() 112 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 | 1186 .ai_socktype = socket_type, in createListeningSocket() 1199 socket(ai->ai_family, ai->ai_socktype | SOCK_NONBLOCK, ai->ai_protocol)); in createListeningSocket()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 671 .ai_socktype = SOCK_PACKET, in TEST_F() 948 const addrinfo hints = {.ai_family = AF_INET6, .ai_socktype = SOCK_STREAM}; in TEST_F() 1039 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 1074 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 1174 const addrinfo hints = {.ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM}; in TEST_F() 1210 const addrinfo hints = {.ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM}; in TEST_F() 1458 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 1504 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 2717 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 2768 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() 373 const addrinfo hints = {.ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM}; in TEST_F()
|
D | dnsresolver_binder_test.cpp | 177 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F()
|