Home
last modified time | relevance | path

Searched refs:addrinfo (Results 1 – 16 of 16) sorted by relevance

/system/netd/tests/
Dnetd_client_test.cpp67 addrinfo* result = nullptr; in expectHasNetworking()
69 const addrinfo hints = { in expectHasNetworking()
90 addrinfo* result = nullptr; in expectNoNetworking()
92 const addrinfo hints = { in expectNoNetworking()
Dbinder_test.cpp740 struct addrinfo *addrinfoList = nullptr; in interfaceHasAddress()
742 const struct addrinfo hints = { in interfaceHasAddress()
/system/extras/multinetwork/
Ddnschk.cpp38 const struct addrinfo hints = { in main()
42 struct addrinfo *result = nullptr; in main()
77 for (struct addrinfo* rp = result; rp != nullptr; rp = rp->ai_next) { in main()
Dhttpurl.cpp98 struct addrinfo hints = { in parseUrl()
102 struct addrinfo *result = nullptr; in parseUrl()
/system/core/libcutils/
Dsocket_network_client_unix.cpp48 struct addrinfo hints; in socket_network_client_timeout()
56 struct addrinfo* addrs; in socket_network_client_timeout()
63 for (struct addrinfo* addr = addrs; addr != NULL; addr = addr->ai_next) { in socket_network_client_timeout()
Dsocket_network_client_windows.cpp39 struct addrinfo hints; in socket_network_client()
43 struct addrinfo* address = NULL; in socket_network_client()
/system/netd/server/
DNetdConstants.cpp103 addrinfo *res; in parsePrefix()
104 addrinfo hints = { in parsePrefix()
DSockDiag.cpp139 addrinfo hints = { .ai_flags = AI_NUMERICHOST }; in sendDumpRequest()
140 addrinfo *res; in sendDumpRequest()
DSockDiagTest.cpp218 addrinfo hints = { .ai_flags = AI_NUMERICHOST }, *src, *dst; in makeDiagMessage()
DTetherController.cpp413 addrinfo *res, hints = { .ai_flags = AI_NUMERICHOST }; in setDnsForwarders()
/system/netd/libnetdutils/
DInternetAddresses.cpp61 const addrinfo hints = { in forString()
64 addrinfo* res; in forString()
/system/netd/tests/benchmarks/
Ddns_benchmark.cpp90 addrinfo* result = nullptr; in benchmark()
/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp97 addrinfo *ai, hints = {.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV}; in checkReachability()
/system/core/adb/
Dsysdeps_win32.cpp940 struct addrinfo hints; in network_connect()
949 struct addrinfo* addrinfo_ptr = nullptr; in network_connect()
968 std::unique_ptr<struct addrinfo, decltype(&freeaddrinfo)> addrinfo(addrinfo_ptr, freeaddrinfo); in network_connect() local
974 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()
987 if (connect(s, addrinfo->ai_addr, addrinfo->ai_addrlen) == SOCKET_ERROR) { in network_connect()
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h108 void operator()(struct addrinfo* p) const { in operator()
115 typedef std::unique_ptr<struct addrinfo, struct AddrinfoDeleter> ScopedAddrinfo;
/system/core/libnetutils/
Difc_utils.c100 struct addrinfo hints, *ai; in string_to_ip()