Home
last modified time | relevance | path

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

/src/contrib/llvm-project/lldb/source/Host/common/
H A DSocketAddress.cpp120 return GetFamilyLength(GetFamily()); in GetLength()
126 sa_family_t SocketAddress::GetFamily() const { in GetFamily() function in SocketAddress
140 switch (GetFamily()) { in GetIPAddress()
142 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv4.sin_addr, str, in GetIPAddress()
147 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv6.sin6_addr, str, in GetIPAddress()
156 switch (GetFamily()) { in GetPort()
166 switch (GetFamily()) { in SetPort()
294 return (GetFamily() == AF_INET) in IsAnyAddr()
300 return (GetFamily() == AF_INET) in IsLocalhost()
307 if (GetFamily() != rhs.GetFamily()) in operator ==()
[all …]
H A DTCPSocket.cpp164 error = CreateSocket(address.GetFamily()); in Connect()
204 int fd = Socket::CreateSocket(address.GetFamily(), kType, IPPROTO_TCP, in Listen()
221 listen_address.SetToAnyAddress(address.GetFamily(), host_port->port); in Listen()
/src/contrib/llvm-project/lldb/include/lldb/Host/
H A DSocketAddress.h74 sa_family_t GetFamily() const;