Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Host/common/
H A DSocketAddress.cpp119 return GetFamilyLength(GetFamily()); in GetLength()
125 sa_family_t SocketAddress::GetFamily() const { in GetFamily() function in SocketAddress
138 switch (GetFamily()) { in GetIPAddress()
140 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv4.sin_addr, str, in GetIPAddress()
145 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv6.sin6_addr, str, in GetIPAddress()
154 switch (GetFamily()) { in GetPort()
164 switch (GetFamily()) { in SetPort()
292 return (GetFamily() == AF_INET) in IsAnyAddr()
298 return (GetFamily() == AF_INET) in IsLocalhost()
305 if (GetFamily() != rhs.GetFamily()) in operator ==()
[all …]
H A DTCPSocket.cpp164 error = CreateSocket(address.GetFamily()); in Connect()
201 int fd = Socket::CreateSocket(address.GetFamily(), kType, IPPROTO_TCP, in Listen()
215 listen_address.SetToAnyAddress(address.GetFamily(), host_port->port); in Listen()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/objcxx/
H A DPlatformiOSSimulatorCoreSimulatorSupport.mm250 if (lhs.GetFamily() != rhs.GetFamily())
276 if (lhs.GetFamily() != rhs.GetFamily())
303 if (lhs.GetFamily() != rhs.GetFamily())
330 if (lhs.GetFamily() != rhs.GetFamily())
H A DPlatformiOSSimulatorCoreSimulatorSupport.h63 std::string GetFamily() const { return m_family.c_str(); } in GetFamily() function
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DRNBSocket.cpp62 int sock_fd = ::socket(address.GetFamily(), SOCK_STREAM, IPPROTO_TCP); in Listen()
71 bind_address.SetToAnyAddress(bind_address.GetFamily(), port); in Listen()
192 m_fd = ::socket(address.GetFamily(), SOCK_STREAM, IPPROTO_TCP); in Connect()
/llvm-project-15.0.7/lldb/unittests/debugserver/
H A DRNBSocketTest.cpp63 if (addresses.front().GetFamily() == AF_INET6) in TestSocketListen()
98 if (addresses.front().GetFamily() == AF_INET6) in TestSocketConnect()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DSocketAddressTest.cpp46 EXPECT_EQ(AF_INET, addr[0].GetFamily()); in TEST_F()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DSocketAddress.h74 sa_family_t GetFamily() const;