Searched refs:addrinfo (Results 1 – 14 of 14) 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/core/libcutils/ |
D | socket_network_client_windows.c | 39 struct addrinfo hints; in socket_network_client() 43 struct addrinfo* address = NULL; in socket_network_client()
|
D | socket_network_client_unix.c | 48 struct addrinfo hints; in socket_network_client_timeout() 56 struct addrinfo* addrs; in socket_network_client_timeout()
|
/system/netd/tests/ |
D | netd_test.cpp | 131 AddrInfo(const char* node, const char* service, const addrinfo& hints) : ai_(nullptr) { in AddrInfo() 141 int init(const char* node, const char* service, const addrinfo& hints) { in init() 161 const addrinfo& operator*() const { return *ai_; } in operator *() 162 const addrinfo* get() const { return ai_; } in get() 163 const addrinfo* operator&() const { return ai_; } in operator &() 167 addrinfo* ai_; 329 std::string ToString(const addrinfo* ai) const { in ToString() 385 addrinfo* result = nullptr; in RunGetAddrInfoStressTest_Binder() 508 addrinfo* result = nullptr; in TEST_F() 585 addrinfo* result = nullptr; in TEST_F() [all …]
|
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/netd/server/ |
D | DnsProxyListener.cpp | 62 SocketClient *c, char* host, char* service, struct addrinfo* hints, in GetAddrInfoHandler() 152 static bool sendaddrinfo(SocketClient* c, struct addrinfo* ai) { in sendaddrinfo() 196 struct addrinfo* result = NULL; in run() 206 struct addrinfo* ai = result; in run() 261 struct addrinfo* hints = NULL; in runCommand() 274 hints = (struct addrinfo*) calloc(1, sizeof(struct addrinfo)); in runCommand()
|
D | DnsProxyListener.h | 60 struct addrinfo* hints, 73 struct addrinfo* mHints; // owned
|
D | SockDiag.cpp | 46 void operator()(addrinfo *a) { if (a) freeaddrinfo(a); } in operator ()() 49 typedef std::unique_ptr<addrinfo, AddrinfoDeleter> ScopedAddrinfo; 134 addrinfo hints = { .ai_flags = AI_NUMERICHOST }; in sendDumpRequest() 135 addrinfo *res; in sendDumpRequest()
|
D | NetdConstants.cpp | 210 addrinfo *res; in parsePrefix() 211 addrinfo hints = { in parsePrefix()
|
D | TetherController.cpp | 240 addrinfo *res, hints = { .ai_flags = AI_NUMERICHOST }; in setDnsForwarders()
|
/system/weaved/buffet/ |
D | socket_stream.cc | 68 addrinfo hints = {0, AF_UNSPEC, SOCK_STREAM}; in ConnectSocket() 69 addrinfo* result = nullptr; in ConnectSocket() 76 for (const addrinfo* info = result; info != nullptr; info = info->ai_next) { in ConnectSocket()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 983 struct addrinfo hints; in network_connect() 992 struct addrinfo* addrinfo_ptr = nullptr; in network_connect() 1011 std::unique_ptr<struct addrinfo, decltype(freeaddrinfo)*> addrinfo(addrinfo_ptr, freeaddrinfo); in network_connect() local 1017 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect() 1030 if (connect(s, addrinfo->ai_addr, addrinfo->ai_addrlen) == SOCKET_ERROR) { in network_connect()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 104 struct addrinfo hints, *ai; in string_to_ip()
|