Home
last modified time | relevance | path

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

/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp136 socklen_t sa_len = sizeof(sa); in ReceiveMessageInternal() local
138 (adb_getsockname(fd, reinterpret_cast<sockaddr*>(&sa), &sa_len) == -1)) { in ReceiveMessageInternal()
529 socklen_t sa_len = sizeof(sa); in JoinMulticastGroup() local
530 if (adb_getsockname(fd_, reinterpret_cast<sockaddr*>(&sa), &sa_len) != -1) { in JoinMulticastGroup()
554 socklen_t sa_len = sizeof(sa); in JoinMulticastGroup() local
555 if (adb_getsockname(fd_, reinterpret_cast<sockaddr*>(&sa), &sa_len) != -1) { in JoinMulticastGroup()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp61 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
63 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, NI_NUMERICHOST); in addr2str()
1097 socklen_t sa_len = sizeof(sa); in handleQuery() local
1104 &sa_len); in handleQuery()
1112 tcpFd.reset(accept4(tcp_socket_.get(), reinterpret_cast<sockaddr*>(&sa), &sa_len, in handleQuery()
1154 reinterpret_cast<const sockaddr*>(&sa), sa_len); in handleQuery()
1177 const std::string host_str = addr2str(reinterpret_cast<const sockaddr*>(&sa), sa_len); in handleQuery()
Ddns_tls_frontend.cpp53 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
55 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, NI_NUMERICHOST); in addr2str()