Home
last modified time | relevance | path

Searched refs:ai_protocol (Results 1 – 9 of 9) sorted by relevance

/system/core/libcutils/
Dsocket_network_client_windows.cpp55 address->ai_protocol); in socket_network_client()
Dsocket_network_client_unix.cpp65 int s = socket(addr->ai_family, type, addr->ai_protocol); in socket_network_client_timeout()
/system/netd/resolv/
Dgetaddrinfo.cpp289 .ai_protocol = 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()
359 if (!MATCH(ai.ai_protocol, ex.e_protocol, WILD_PROTOCOL(ex))) continue; in android_getaddrinfofornetcontext()
364 if (tmp.ai_protocol == ANY && ex.e_protocol != ANY) tmp.ai_protocol = ex.e_protocol; in android_getaddrinfofornetcontext()
367 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext()
406 if (!MATCH(ai.ai_protocol, ex.e_protocol, WILD_PROTOCOL(ex))) { in android_getaddrinfofornetcontext()
412 if (tmp.ai_protocol == ANY && ex.e_protocol != ANY) tmp.ai_protocol = ex.e_protocol; in android_getaddrinfofornetcontext()
415 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext()
DDnsProxyListener.cpp404 << " " << ai->ai_socktype << " " << ai->ai_protocol; in logDnsQueryResult()
575 sendBE32(c, ai->ai_protocol); in sendaddrinfo()
739 int ai_protocol = strtol(argv[6], nullptr, 10); in runCommand() local
752 ai_socktype != -1 || ai_protocol != -1) { in runCommand()
757 hints->ai_protocol = ai_protocol; in runCommand()
Dlibnetd_resolv_test.cpp163 .ai_protocol = ANY, in TEST_F()
236 .ai_protocol = protocol, in TEST_F()
Dresolver_test.cpp2807 .ai_protocol = 0, // any protocol in TEST_F()
/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp208 android::base::unique_fd s(socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol)); in startServer()
245 backend_ai_res->ai_protocol)); in startServer()
Ddns_responder.cpp607 socket_.reset(socket(ai->ai_family, ai->ai_socktype | SOCK_NONBLOCK, ai->ai_protocol)); in startServer()
/system/core/adb/
Dsysdeps_win32.cpp906 hints.ai_protocol = GetSocketProtocolFromSocketType(type); in network_connect()
936 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()