Home
last modified time | relevance | path

Searched refs:ai_socktype (Results 1 – 15 of 15) sorted by relevance

/system/core/libcutils/
Dsocket_network_client_windows.cpp41 hints.ai_socktype = type; in socket_network_client()
54 SOCKET sock = socket(address->ai_family, address->ai_socktype, in socket_network_client()
Dsocket_network_client_unix.cpp51 hints.ai_socktype = type; in socket_network_client_timeout()
/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp194 .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()
Ddns_responder.cpp594 .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/
Dlibnetd_resolv_test.cpp162 .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()
Dgetaddrinfo.cpp288 .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 …]
DDnsProxyListener.cpp404 << " " << 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()
Ddnsresolver_binder_test.cpp210 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F()
Dresolver_test.cpp1150 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()
Dres_cache.cpp1740 .ai_family = AF_UNSPEC, .ai_socktype = SOCK_DGRAM, .ai_flags = AI_NUMERICHOST}; in resolv_set_nameservers_for_net()
/system/extras/multinetwork/
Ddnschk.cpp40 .ai_socktype = SOCK_DGRAM, in main()
Dhttpurl.cpp100 .ai_socktype = SOCK_STREAM, in parseUrl()
/system/core/libnetutils/
Difc_utils.c110 hints.ai_socktype = SOCK_DGRAM; in string_to_ip()
/system/core/adb/
Dsysdeps_win32.cpp905 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/
Dbinder_test.cpp791 .ai_socktype = SOCK_DGRAM, in interfaceHasAddress()