Searched refs:ai_socktype (Results 1 – 15 of 15) sorted by relevance
/system/core/libcutils/ |
D | socket_network_client_windows.cpp | 41 hints.ai_socktype = type; in socket_network_client() 54 SOCKET sock = socket(address->ai_family, address->ai_socktype, in socket_network_client()
|
D | socket_network_client_unix.cpp | 51 hints.ai_socktype = type; in socket_network_client_timeout()
|
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 194 .ai_socktype = SOCK_STREAM, in startServer() 208 android::base::unique_fd s(socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol)); in startServer() 233 .ai_socktype = SOCK_DGRAM in startServer() 244 backend_socket_.reset(socket(backend_ai_res->ai_family, backend_ai_res->ai_socktype, in startServer()
|
D | dns_responder.cpp | 594 .ai_socktype = SOCK_DGRAM, in startServer() 607 socket_.reset(socket(ai->ai_family, ai->ai_socktype | SOCK_NONBLOCK, ai->ai_protocol)); in startServer()
|
/system/netd/resolv/ |
D | libnetd_resolv_test.cpp | 162 .ai_socktype = ANY, in TEST_F() 237 .ai_socktype = socktype, in TEST_F() 259 int ai_socktype; in TEST_F() member 264 return StringPrintf("0x%x/%d/%d/%s", ai_flags, ai_family, ai_socktype, in TEST_F() 319 .ai_socktype = config.ai_socktype, in TEST_F()
|
D | getaddrinfo.cpp | 288 .ai_socktype = ANY, in android_getaddrinfofornetcontext() 324 if (ai.ai_socktype != ANY && ai.ai_protocol != ANY) { in android_getaddrinfofornetcontext() 329 if (ai.ai_socktype == ex.e_socktype && ai.ai_protocol != ex.e_protocol) { in android_getaddrinfofornetcontext() 358 if (!MATCH(ai.ai_socktype, ex.e_socktype, WILD_SOCKTYPE(ex))) continue; in android_getaddrinfofornetcontext() 363 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in android_getaddrinfofornetcontext() 367 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext() 403 if (!MATCH(ai.ai_socktype, ex.e_socktype, WILD_SOCKTYPE(ex))) { in android_getaddrinfofornetcontext() 411 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in android_getaddrinfofornetcontext() 415 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext() 706 switch (ai->ai_socktype) { in get_port() [all …]
|
D | DnsProxyListener.cpp | 404 << " " << ai->ai_socktype << " " << ai->ai_protocol; in logDnsQueryResult() 574 sendBE32(c, ai->ai_socktype) && in sendaddrinfo() 738 int ai_socktype = strtol(argv[5], nullptr, 10); in runCommand() local 752 ai_socktype != -1 || ai_protocol != -1) { in runCommand() 756 hints->ai_socktype = ai_socktype; in runCommand()
|
D | dnsresolver_binder_test.cpp | 210 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F()
|
D | resolver_test.cpp | 1150 const addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 2424 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 2473 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 2506 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() 2806 .ai_socktype = 0, // any type in TEST_F()
|
D | res_cache.cpp | 1740 .ai_family = AF_UNSPEC, .ai_socktype = SOCK_DGRAM, .ai_flags = AI_NUMERICHOST}; in resolv_set_nameservers_for_net()
|
/system/extras/multinetwork/ |
D | dnschk.cpp | 40 .ai_socktype = SOCK_DGRAM, in main()
|
D | httpurl.cpp | 100 .ai_socktype = SOCK_STREAM, in parseUrl()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 110 hints.ai_socktype = SOCK_DGRAM; in string_to_ip()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 905 hints.ai_socktype = type; in network_connect() 936 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()
|
/system/netd/tests/ |
D | binder_test.cpp | 791 .ai_socktype = SOCK_DGRAM, in interfaceHasAddress()
|