|
Monero
|
#include <net_utils_base.h>
Public Member Functions | |
| constexpr | ipv4_network_address () noexcept |
| constexpr | ipv4_network_address (uint32_t ip, uint16_t port) noexcept |
| bool | equal (const ipv4_network_address &other) const noexcept |
| bool | less (const ipv4_network_address &other) const noexcept |
| constexpr bool | is_same_host (const ipv4_network_address &other) const noexcept |
| constexpr uint32_t | ip () const noexcept |
| constexpr uint16_t | port () const noexcept |
| std::string | str () const |
| std::string | host_str () const |
| bool | is_loopback () const |
| bool | is_local () const |
| if (is_store) | |
Static Public Member Functions | |
| static constexpr address_type | get_type_id () noexcept |
| static constexpr zone | get_zone () noexcept |
| static constexpr bool | is_blockable () noexcept |
Public Attributes | |
| else | |
Private Attributes | |
| uint32_t | m_ip |
| uint16_t | m_port |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
noexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
| std::string epee::net_utils::ipv4_network_address::host_str | ( | ) | const |
|
inline |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
| bool epee::net_utils::ipv4_network_address::is_local | ( | ) | const |
| bool epee::net_utils::ipv4_network_address::is_loopback | ( | ) | const |
|
inlineconstexprnoexcept |
|
noexcept |
|
inlineconstexprnoexcept |
| std::string epee::net_utils::ipv4_network_address::str | ( | ) | const |
| epee::net_utils::ipv4_network_address::else |
|
private |
|
private |