Searched refs:ai_protocol (Results 1 – 9 of 9) sorted by relevance
/system/core/libcutils/ |
D | socket_network_client_windows.cpp | 55 address->ai_protocol); in socket_network_client()
|
D | socket_network_client_unix.cpp | 65 int s = socket(addr->ai_family, type, addr->ai_protocol); in socket_network_client_timeout()
|
/system/netd/resolv/ |
D | getaddrinfo.cpp | 289 .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()
|
D | DnsProxyListener.cpp | 404 << " " << 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()
|
D | libnetd_resolv_test.cpp | 163 .ai_protocol = ANY, in TEST_F() 236 .ai_protocol = protocol, in TEST_F()
|
D | resolver_test.cpp | 2807 .ai_protocol = 0, // any protocol in TEST_F()
|
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 208 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()
|
D | dns_responder.cpp | 607 socket_.reset(socket(ai->ai_family, ai->ai_socktype | SOCK_NONBLOCK, ai->ai_protocol)); in startServer()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 906 hints.ai_protocol = GetSocketProtocolFromSocketType(type); in network_connect() 936 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()
|