4#include <boost/uuid/uuid_io.hpp>
28 network_address::interface
const*
const self_ = self.get();
29 network_address::interface
const*
const other_self = other.self.get();
30 if (self_ == other_self)
return true;
31 if (!self_ || !other_self)
return false;
32 if (
typeid(*self_) !=
typeid(*other_self))
return false;
33 return self_->equal(*other_self);
39 network_address::interface
const*
const self_ = self.get();
40 network_address::interface
const*
const other_self = other.self.get();
41 if (self_ == other_self)
return false;
42 if (!self_ || !other_self)
return self ==
nullptr;
43 if (
typeid(*self_) !=
typeid(*other_self))
44 return self_->get_type_id() < other_self->get_type_id();
45 return self_->less(*other_self);
51 network_address::interface
const*
const self_ = self.get();
52 network_address::interface
const*
const other_self = other.self.get();
53 if (self_ == other_self)
return true;
54 if (!self_ || !other_self)
return false;
55 if (
typeid(*self_) !=
typeid(*other_self))
return false;
56 return self_->is_same_host(*other_self);
91 if (
value ==
"public")
constexpr bool is_same_host(const ipv4_network_address &other) const noexcept
bool less(const ipv4_network_address &other) const noexcept
constexpr uint16_t port() const noexcept
constexpr uint32_t ip() const noexcept
bool equal(const ipv4_network_address &other) const noexcept
std::string host_str() const
constexpr ipv4_network_address() noexcept
bool equal(const network_address &other) const
bool less(const network_address &other) const
bool is_same_host(const network_address &other) const
zone zone_from_string(boost::string_ref value) noexcept
const char * zone_to_string(zone value) noexcept
bool is_ip_loopback(uint32_t ip)
std::string print_connection_context_short(const connection_context_base &ctx)
std::string print_connection_context(const connection_context_base &ctx)
bool is_ip_local(uint32_t ip)
const GenericPointer< typename T::ValueType > T2 value
const boost::uuids::uuid m_connection_id
const network_address m_remote_address