#include <net_utils_base.h>
Definition at line 63 of file net_utils_base.h.
◆ ipv4_network_address() [1/2]
| constexpr epee::net_utils::ipv4_network_address::ipv4_network_address |
( |
| ) |
|
|
inlinenoexcept |
◆ ipv4_network_address() [2/2]
| constexpr epee::net_utils::ipv4_network_address::ipv4_network_address |
( |
uint32_t |
ip, |
|
|
uint16_t |
port |
|
) |
| |
|
inlinenoexcept |
Definition at line 73 of file net_utils_base.h.
74 : m_ip(
ip), m_port(
port) {}
constexpr uint16_t port() const noexcept
constexpr uint32_t ip() const noexcept
◆ equal()
Definition at line 11 of file net_utils_base.cpp.
constexpr uint16_t port() const noexcept
constexpr bool is_same_host(const ipv4_network_address &other) const noexcept
◆ get_type_id()
| static constexpr address_type epee::net_utils::ipv4_network_address::get_type_id |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ get_zone()
| static constexpr zone epee::net_utils::ipv4_network_address::get_zone |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ host_str()
| std::string epee::net_utils::ipv4_network_address::host_str |
( |
| ) |
const |
◆ ip()
| constexpr uint32_t epee::net_utils::ipv4_network_address::ip |
( |
| ) |
const |
|
inlinenoexcept |
◆ is_blockable()
| static constexpr bool epee::net_utils::ipv4_network_address::is_blockable |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ is_local()
| bool epee::net_utils::ipv4_network_address::is_local |
( |
| ) |
const |
Definition at line 22 of file net_utils_base.cpp.
constexpr uint32_t ip() const noexcept
bool is_ip_local(uint32_t ip)
◆ is_loopback()
| bool epee::net_utils::ipv4_network_address::is_loopback |
( |
| ) |
const |
Definition at line 21 of file net_utils_base.cpp.
constexpr uint32_t ip() const noexcept
bool is_ip_loopback(uint32_t ip)
◆ is_same_host()
Definition at line 78 of file net_utils_base.h.
79 {
return ip() == other.ip(); }
constexpr uint32_t ip() const noexcept
◆ less()
Definition at line 14 of file net_utils_base.cpp.
constexpr uint16_t port() const noexcept
constexpr uint32_t ip() const noexcept
constexpr bool is_same_host(const ipv4_network_address &other) const noexcept
◆ port()
| constexpr uint16_t epee::net_utils::ipv4_network_address::port |
( |
| ) |
const |
|
inlinenoexcept |
◆ str()
| std::string epee::net_utils::ipv4_network_address::str |
( |
| ) |
const |
Definition at line 17 of file net_utils_base.cpp.
constexpr uint16_t port() const noexcept
constexpr uint32_t ip() const noexcept
std::string to_string(t_connection_type type)
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/contrib/epee/include/net/net_utils_base.h
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/contrib/epee/src/net_utils_base.cpp