Searched refs:sock_addr_len (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/lldb/source/Host/common/ |
D | TCPSocket.cpp | 85 socklen_t sock_addr_len = sock_addr.GetMaxLength(); in GetLocalPortNumber() local 86 if (::getsockname(m_socket, sock_addr, &sock_addr_len) == 0) in GetLocalPortNumber() 90 socklen_t sock_addr_len = sock_addr.GetMaxLength(); in GetLocalPortNumber() local 92 &sock_addr_len) == 0) in GetLocalPortNumber() 103 socklen_t sock_addr_len = sock_addr.GetMaxLength(); in GetLocalIPAddress() local 104 if (::getsockname(m_socket, sock_addr, &sock_addr_len) == 0) in GetLocalIPAddress() 113 socklen_t sock_addr_len = sock_addr.GetMaxLength(); in GetRemotePortNumber() local 114 if (::getpeername(m_socket, sock_addr, &sock_addr_len) == 0) in GetRemotePortNumber() 125 socklen_t sock_addr_len = sock_addr.GetMaxLength(); in GetRemoteIPAddress() local 126 if (::getpeername(m_socket, sock_addr, &sock_addr_len) == 0) in GetRemoteIPAddress()
|
/external/llvm-project/lldb/source/Host/posix/ |
D | DomainSocket.cpp | 133 socklen_t sock_addr_len = sizeof(struct sockaddr_un); in GetSocketName() local 134 if (::getpeername(m_socket, (struct sockaddr *)&saddr_un, &sock_addr_len) == in GetSocketName() 137 sock_addr_len - in GetSocketName()
|