Searched refs:addrinfo (Results 1 – 17 of 17) sorted by relevance
/system/extras/multinetwork/ |
D | dnschk.cpp | 38 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()
|
D | httpurl.cpp | 98 struct addrinfo hints = { in parseUrl() 102 struct addrinfo *result = nullptr; in parseUrl()
|
/system/netd/tests/ |
D | netd_test.cpp | 87 AddrInfo(const char* node, const char* service, const addrinfo& hints) : ai_(nullptr) { in AddrInfo() 97 int init(const char* node, const char* service, const addrinfo& hints) { in init() 117 const addrinfo& operator*() const { return *ai_; } in operator *() 118 const addrinfo* get() const { return ai_; } in get() 119 const addrinfo* operator&() const { return ai_; } in operator &() 123 addrinfo* ai_; 185 std::string ToString(const addrinfo* ai) const { in ToString() 240 addrinfo* result = nullptr; in RunGetAddrInfoStressTest_Binder() 369 addrinfo* result = nullptr; in TEST_F() 446 addrinfo* result = nullptr; in TEST_F() [all …]
|
D | binder_test.cpp | 452 struct addrinfo *addrinfoList = nullptr; in interfaceHasAddress() 455 const struct addrinfo hints = { in interfaceHasAddress()
|
/system/core/libcutils/ |
D | socket_network_client_unix.c | 48 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()
|
D | socket_network_client_windows.c | 39 struct addrinfo hints; in socket_network_client() 43 struct addrinfo* address = NULL; in socket_network_client()
|
/system/netd/server/ |
D | NetdConstants.h | 70 void operator()(struct addrinfo* p) const { in operator() 77 typedef std::unique_ptr<struct addrinfo, struct AddrinfoDeleter> ScopedAddrinfo;
|
D | DnsProxyListener.cpp | 125 SocketClient *c, char* host, char* service, struct addrinfo* hints, in GetAddrInfoHandler() 182 static bool sendaddrinfo(SocketClient* c, struct addrinfo* ai) { in sendaddrinfo() 226 struct addrinfo* result = NULL; in run() 236 struct addrinfo* ai = result; in run() 251 for (addrinfo* ai = result; ai; ai = ai->ai_next) { in run() 334 struct addrinfo* hints = NULL; in runCommand() 347 hints = (struct addrinfo*) calloc(1, sizeof(struct addrinfo)); in runCommand()
|
D | DnsProxyListener.h | 59 struct addrinfo* hints, 71 struct addrinfo* mHints; // owned
|
D | NetdConstants.cpp | 190 addrinfo *res; in parsePrefix() 191 addrinfo hints = { in parsePrefix()
|
D | SockDiag.cpp | 136 addrinfo hints = { .ai_flags = AI_NUMERICHOST }; in sendDumpRequest() 137 addrinfo *res; in sendDumpRequest()
|
D | TetherController.cpp | 262 addrinfo *res, hints = { .ai_flags = AI_NUMERICHOST }; in setDnsForwarders()
|
D | SockDiagTest.cpp | 215 addrinfo hints = { .ai_flags = AI_NUMERICHOST }, *src, *dst; in makeDiagMessage()
|
/system/netd/tests/benchmarks/ |
D | dns_benchmark.cpp | 124 addrinfo* result = nullptr; in getaddrinfo_until_done()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 844 struct addrinfo hints; in network_connect() 853 struct addrinfo* addrinfo_ptr = nullptr; in network_connect() 872 std::unique_ptr<struct addrinfo, decltype(&freeaddrinfo)> addrinfo(addrinfo_ptr, freeaddrinfo); in network_connect() local 878 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect() 891 if (connect(s, addrinfo->ai_addr, addrinfo->ai_addrlen) == SOCKET_ERROR) { in network_connect()
|
/system/netd/tests/dns_responder/ |
D | dns_responder.cpp | 571 addrinfo ai_hints{ in startServer() 576 addrinfo* ai_res; in startServer() 585 for (const addrinfo* ai = ai_res ; ai ; ai = ai->ai_next) { in startServer()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 100 struct addrinfo hints, *ai; in string_to_ip()
|