Home
last modified time | relevance | path

Searched refs:sa_len (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp67 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
69 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, NI_NUMERICHOST); in addr2str()
1064 socklen_t sa_len = sizeof(sa); in handleQuery() local
1071 &sa_len); in handleQuery()
1079 tcpFd.reset(accept4(tcp_socket_.get(), reinterpret_cast<sockaddr*>(&sa), &sa_len, in handleQuery()
1121 reinterpret_cast<const sockaddr*>(&sa), sa_len); in handleQuery()
1144 const std::string host_str = addr2str(reinterpret_cast<const sockaddr*>(&sa), sa_len); in handleQuery()
Ddns_tls_frontend.cpp52 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
54 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, NI_NUMERICHOST); in addr2str()