|
Monero
|
#include <net_utils_base.h>
Public Member Functions | |
| constexpr | ipv4_network_subnet () noexcept |
| constexpr | ipv4_network_subnet (uint32_t ip, uint8_t mask) noexcept |
| bool | equal (const ipv4_network_subnet &other) const noexcept |
| bool | less (const ipv4_network_subnet &other) const noexcept |
| constexpr bool | is_same_host (const ipv4_network_subnet &other) const noexcept |
| bool | matches (const ipv4_network_address &address) const |
| constexpr uint32_t | subnet () const noexcept |
| std::string | str () const |
| std::string | host_str () const |
| bool | is_loopback () const |
| bool | is_local () const |
Static Public Member Functions | |
| static constexpr address_type | get_type_id () noexcept |
| static constexpr zone | get_zone () noexcept |
| static constexpr bool | is_blockable () noexcept |
Private Attributes | |
| uint32_t | m_ip |
| uint8_t | m_mask |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
noexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
| std::string epee::net_utils::ipv4_network_subnet::host_str | ( | ) | const |
|
inlinestaticconstexprnoexcept |
| bool epee::net_utils::ipv4_network_subnet::is_local | ( | ) | const |
| bool epee::net_utils::ipv4_network_subnet::is_loopback | ( | ) | const |
|
inlineconstexprnoexcept |
|
noexcept |
| bool epee::net_utils::ipv4_network_subnet::matches | ( | const ipv4_network_address & | address | ) | const |
| std::string epee::net_utils::ipv4_network_subnet::str | ( | ) | const |
|
inlineconstexprnoexcept |
|
private |
|
private |