Home
last modified time | relevance | path

Searched refs:sockaddr_storage (Results 1 – 22 of 22) sorted by relevance

/system/netd/resolv/
DDnsTlsServer.h38 DnsTlsServer(const sockaddr_storage& ss) : ss(ss) {} in DnsTlsServer()
48 sockaddr_storage ss = {};
DDnsTlsServer.cpp54 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <()
71 static bool operator ==(const sockaddr_storage& x, const sockaddr_storage& y) { in operator ==()
DPrivateDnsConfiguration.cpp34 std::string addrToString(const sockaddr_storage* addr) { in addrToString()
36 getnameinfo((const sockaddr*) addr, sizeof(sockaddr_storage), out, INET6_ADDRSTRLEN, nullptr, 0, in addrToString()
41 bool parseServer(const char* server, sockaddr_storage* parsed) { in parseServer()
69 sockaddr_storage parsed; in set()
DPrivateDnsConfiguration.h48 sockaddr_storage ss;
DResolverController.cpp51 std::string addrToString(const sockaddr_storage* addr) { in addrToString()
53 getnameinfo((const sockaddr*)addr, sizeof(sockaddr_storage), out, INET6_ADDRSTRLEN, nullptr, 0, in addrToString()
114 sockaddr_storage res_servers[MAXNS]; in getDnsInfo()
Ddns_tls_test.cpp49 static void parseServer(const char* server, in_port_t port, sockaddr_storage* parsed) { in parseServer()
87 sockaddr_storage V4ADDR1;
88 sockaddr_storage V4ADDR2;
89 sockaddr_storage V6ADDR1;
90 sockaddr_storage V6ADDR2;
Dres_send.cpp422 struct sockaddr_storage peer; in res_nsend()
732 struct sockaddr_storage peer; in send_vc()
983 struct sockaddr_storage from; in send_dg()
DDnsProxyListener.cpp428 struct sockaddr_storage ss = netdutils::IPSockAddr(prefix.ip()); in synthesizeNat64PrefixWithARecord()
463 struct sockaddr_storage ss = netdutils::IPSockAddr(prefix.ip()); in synthesizeNat64PrefixWithARecord()
1151 struct sockaddr_storage ss = netdutils::IPSockAddr(prefix.ip()); in doDns64ReverseLookup()
Dres_cache.cpp1940 struct sockaddr_storage servers[MAXNS], int* dcount, in android_net_res_stats_get_info_for_net()
Dresolver_test.cpp1226 struct sockaddr_storage cliaddr; in TEST_F()
/system/core/adb/sysdeps/posix/
Dnetwork.cpp38 static sockaddr* loopback_addr4(sockaddr_storage* addr, socklen_t* addrlen, int port) { in loopback_addr4()
48 static sockaddr* loopback_addr6(sockaddr_storage* addr, socklen_t* addrlen, int port) { in loopback_addr6()
65 struct sockaddr_storage addr_storage = {}; in _network_loopback_client()
103 struct sockaddr_storage addr_storage = {}; in _network_loopback_server()
/system/core/libcutils/
Dsockets.cpp35 sockaddr_storage addr; in socket_get_local_port()
Dsockets_test.cpp40 sockaddr_storage addr; in TestConnectedSockets()
/system/netd/resolv/include/netd_resolv/
Dstats.h53 unsigned netid, int* nscount, sockaddr_storage servers[MAXNS], int* dcount,
/system/core/fastboot/
Dsocket.cpp119 std::unique_ptr<sockaddr_storage> addr_;
129 addr_.reset(new sockaddr_storage); in UdpSocket()
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h254 operator sockaddr_storage() const noexcept { in sockaddr_storage() function
255 sockaddr_storage ss; in sockaddr_storage()
/system/extras/multinetwork/
Dhttpurl.cpp37 struct sockaddr_storage ss;
/system/core/libnetutils/
Difc_utils.c99 int string_to_ip(const char *string, struct sockaddr_storage *ss) { in string_to_ip()
259 struct sockaddr_storage ss; in ifc_act_on_address()
/system/netd/server/
DXfrmController.cpp708 StatusOr<sockaddr_storage> ret = in ipSecApplyTransportModeTransform()
709 getSyscallInstance().getsockname<sockaddr_storage>(Fd(socketFd)); in ipSecApplyTransportModeTransform()
714 struct sockaddr_storage saddr = ret.value(); in ipSecApplyTransportModeTransform()
771 StatusOr<sockaddr_storage> ret = in ipSecRemoveTransportModeTransform()
772 getSyscallInstance().getsockname<sockaddr_storage>(Fd(socketFd)); in ipSecRemoveTransportModeTransform()
/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp288 sockaddr_storage addr; in requestHandler()
Ddns_responder.cpp937 sockaddr_storage sa; in handleQuery()
/system/core/adb/
Dsysdeps_win32.cpp1054 sockaddr_storage addr_storage; in adb_socket_get_local_port()