Home
last modified time | relevance | path

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

/system/netd/resolv/dns_responder/
Ddns_responder.cpp73 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
75 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, in addr2str()
938 socklen_t sa_len = sizeof(sa); in handleQuery() local
941 len = recvfrom(socket_.get(), buffer, sizeof(buffer), 0, (sockaddr*)&sa, &sa_len); in handleQuery()
959 reinterpret_cast<const sockaddr*>(&sa), sa_len); in handleQuery()
960 std::string host_str = addr2str(reinterpret_cast<const sockaddr*>(&sa), sa_len); in handleQuery()
Ddns_tls_frontend.cpp70 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
72 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, in addr2str()