Searched refs:ai_addrlen (Results 1 – 14 of 14) sorted by relevance
/system/core/libcutils/ |
D | socket_network_client_windows.cpp | 61 if (connect(sock, address->ai_addr, address->ai_addrlen) == SOCKET_ERROR) { in socket_network_client()
|
D | socket_network_client_unix.cpp | 68 int rc = connect(s, addr->ai_addr, addr->ai_addrlen); in socket_network_client_timeout()
|
/system/netd/resolv/ |
D | libnetd_resolv_test.cpp | 68 int rv = getnameinfo(aip->ai_addr, aip->ai_addrlen, host, sizeof(host), nullptr, 0, in ToString() 132 socklen_t ai_addrlen; in TEST_F() member 139 return StringPrintf("0x%x/%u/%s/%p/%p", ai_flags, ai_addrlen, in TEST_F() 164 .ai_addrlen = config.ai_addrlen, in TEST_F()
|
D | res_cache.cpp | 1886 if ((size_t) ai->ai_addrlen <= sizeof(statp->_u._ext.ext->nsaddrs[0])) { in _resolv_populate_res_for_net() 1888 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], ai->ai_addr, ai->ai_addrlen); in _resolv_populate_res_for_net() 1891 if ((size_t) ai->ai_addrlen <= sizeof(statp->nsaddr_list[0])) { in _resolv_populate_res_for_net() 1892 memcpy(&statp->nsaddr_list[nserv], ai->ai_addr, ai->ai_addrlen); in _resolv_populate_res_for_net() 1960 int addrlen = info->nsaddrinfo[i]->ai_addrlen; in android_net_res_stats_get_info_for_net() 1979 memcpy(&servers[i], info->nsaddrinfo[i]->ai_addr, info->nsaddrinfo[i]->ai_addrlen); in android_net_res_stats_get_info_for_net()
|
D | DnsProxyListener.cpp | 213 addIpAddrWithinLimit(ip_addrs, ai_addr, ai->ai_addrlen); in extractGetAddrInfoAnswers() 400 int ret = getnameinfo(ai->ai_addr, ai->ai_addrlen, ip_addr, sizeof(ip_addr), nullptr, 0, in logDnsQueryResult() 476 ai->ai_addrlen = sizeof(struct sockaddr_in6); in synthesizeNat64PrefixWithARecord() 581 if (!sendLenAndData(c, ai->ai_addrlen, ai->ai_addr)) { in sendaddrinfo()
|
D | PrivateDnsConfiguration.cpp | 51 memcpy(parsed, res->ai_addr, res->ai_addrlen); in parseServer()
|
D | getaddrinfo.cpp | 290 .ai_addrlen = 0, in android_getaddrinfofornetcontext() 303 if (hints->ai_addrlen || hints->ai_canonname || hints->ai_addr || hints->ai_next) { in android_getaddrinfofornetcontext() 674 ai->ai_addrlen = afd->a_socklen; in get_ai()
|
D | resolver_test.cpp | 156 int rv = getnameinfo(aip->ai_addr, aip->ai_addrlen, host, sizeof(host), nullptr, 0, in ToString() 175 int rv = getnameinfo(aip->ai_addr, aip->ai_addrlen, host, sizeof(host), nullptr, 0, in ToStrings()
|
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 215 std::string host_str = addr2str(ai->ai_addr, ai->ai_addrlen); in startServer() 216 if (bind(s.get(), ai->ai_addr, ai->ai_addrlen)) { in startServer() 253 connect(backend_socket_.get(), backend_ai_res->ai_addr, backend_ai_res->ai_addrlen); in startServer()
|
D | dns_responder.cpp | 614 std::string host_str = addr2str(ai->ai_addr, ai->ai_addrlen); in startServer() 615 if (bind(socket_.get(), ai->ai_addr, ai->ai_addrlen)) { in startServer()
|
/system/hardware/interfaces/net/netd/testutils/ |
D | VtsHalNetNetdTestUtils.cpp | 110 ret = connect(sock, ai->ai_addr, ai->ai_addrlen); in checkReachability()
|
/system/extras/multinetwork/ |
D | httpurl.cpp | 130 memcpy(&(parameters->ss), result[0].ai_addr, result[0].ai_addrlen); in parseUrl()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 114 memcpy(ss, ai->ai_addr, ai->ai_addrlen); in string_to_ip()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 949 if (connect(s, addrinfo->ai_addr, addrinfo->ai_addrlen) == SOCKET_ERROR) { in network_connect()
|