Searched refs:ai_addr (Results 1 – 13 of 13) sorted by relevance
/system/core/libcutils/ |
D | socket_network_client_windows.c | 61 if (connect(sock, address->ai_addr, address->ai_addrlen) == SOCKET_ERROR) { in socket_network_client()
|
D | socket_network_client_unix.c | 68 int rc = connect(s, addr->ai_addr, addr->ai_addrlen); in socket_network_client_timeout()
|
/system/extras/multinetwork/ |
D | dnschk.cpp | 78 std::cout << inetSockaddrToString(rp->ai_addr) << std::endl; in main()
|
D | httpurl.cpp | 130 memcpy(&(parameters->ss), result[0].ai_addr, result[0].ai_addrlen); in parseUrl() 132 << inetSockaddrToString(result[0].ai_addr) in parseUrl()
|
/system/netd/server/ |
D | SockDiagTest.cpp | 218 EXPECT_EQ(src->ai_addr->sa_family, dst->ai_addr->sa_family); in makeDiagMessage() 219 inet_diag_msg msg = makeDiagMessage(src->ai_addr->sa_family, src->ai_addr, dst->ai_addr); in makeDiagMessage()
|
D | DnsProxyListener.cpp | 206 if (!sendLenAndData(c, ai->ai_addrlen, ai->ai_addr)) { in sendaddrinfo() 252 sockaddr* ai_addr = ai->ai_addr; in run() local 253 if (ai_addr) { in run() 254 addIpAddrWithinLimit(ip_addrs, ai_addr, ai->ai_addrlen); in run()
|
D | NetdConstants.cpp | 207 sockaddr_in *sin = (sockaddr_in *) res[0].ai_addr; in parsePrefix() 216 sockaddr_in6 *sin6 = (sockaddr_in6 *) res[0].ai_addr; in parsePrefix()
|
D | SockDiag.cpp | 153 in_addr& ina = reinterpret_cast<sockaddr_in*>(res->ai_addr)->sin_addr; in sendDumpRequest() 157 in_addr& ina = reinterpret_cast<sockaddr_in*>(res->ai_addr)->sin_addr; in sendDumpRequest() 162 in6_addr& in6a = reinterpret_cast<sockaddr_in6*>(res->ai_addr)->sin6_addr; in sendDumpRequest()
|
/system/netd/tests/ |
D | binder_test.cpp | 461 addrinfoList == nullptr || addrinfoList->ai_addr == nullptr) { in interfaceHasAddress() 475 addr->ifa_addr->sa_family != addrinfoList->ai_addr->sa_family) { in interfaceHasAddress() 482 auto *want = reinterpret_cast<const struct sockaddr_in*>(addrinfoList->ai_addr); in interfaceHasAddress() 496 auto *want = reinterpret_cast<const struct sockaddr_in6*>(addrinfoList->ai_addr); in interfaceHasAddress()
|
D | netd_test.cpp | 190 int rv = getnameinfo(aip->ai_addr, aip->ai_addrlen, host, sizeof(host), nullptr, 0, in ToString()
|
/system/netd/tests/dns_responder/ |
D | dns_responder.cpp | 590 if (bind(s, ai->ai_addr, ai->ai_addrlen)) { in startServer() 596 std::string host_str = addr2str(ai->ai_addr, ai->ai_addrlen); in startServer()
|
/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 | 891 if (connect(s, addrinfo->ai_addr, addrinfo->ai_addrlen) == SOCKET_ERROR) { in network_connect()
|