|
Electroneum
|
#include <net_utils_base.h>
Public Member Functions | |
| network_address () | |
| template<typename T> | |
| network_address (const T &src) | |
| bool | equal (const network_address &other) const |
| bool | less (const network_address &other) const |
| bool | is_same_host (const network_address &other) const |
| std::string | str () const |
| std::string | host_str () const |
| bool | is_loopback () const |
| bool | is_local () const |
| address_type | get_type_id () const |
| zone | get_zone () const |
| bool | is_blockable () const |
| template<typename Type> | |
| const Type & | as () const |
| if (!epee::serialization::selector< is_store >::serialize(type, stg, hparent_section, "type")) return false | |
| switch (address_type(type)) | |
| MERROR ("Unsupported network address type: "<<(unsigned) type) | |
Public Attributes | |
| std::uint8_t | type = std::uint8_t(is_store ? this_ref.get_type_id() : address_type::invalid) |
| return | false |
Static Public Attributes | |
| static constexpr std::integral_constant< bool, is_store > | is_store_ {} |
Definition at line 110 of file net_utils_base.h.
|
inline |
Definition at line 189 of file net_utils_base.h.

Definition at line 191 of file net_utils_base.h.
Definition at line 203 of file net_utils_base.h.

| bool epee::net_utils::network_address::equal | ( | const network_address & | other | ) | const |
Definition at line 25 of file net_utils_base.cpp.


|
inline |
|
inline |
|
inline |
Definition at line 197 of file net_utils_base.h.

| epee::net_utils::network_address::if | ( | !epee::serialization::selector< is_store > | ::serializetype, stg, hparent_section, "type" | ) |
|
inline |
Definition at line 202 of file net_utils_base.h.

|
inline |
Definition at line 199 of file net_utils_base.h.

|
inline |
Definition at line 198 of file net_utils_base.h.

| bool epee::net_utils::network_address::is_same_host | ( | const network_address & | other | ) | const |
Definition at line 48 of file net_utils_base.cpp.


| bool epee::net_utils::network_address::less | ( | const network_address & | other | ) | const |
Definition at line 36 of file net_utils_base.cpp.


| epee::net_utils::network_address::MERROR | ( | "Unsupported network address type: "<<(unsigned) | type | ) |
|
inline |
Definition at line 196 of file net_utils_base.h.

|
inline |
Definition at line 213 of file net_utils_base.h.
| return epee::net_utils::network_address::false |
Definition at line 227 of file net_utils_base.h.
|
staticconstexpr |
Definition at line 207 of file net_utils_base.h.
| std::uint8_t epee::net_utils::network_address::type = std::uint8_t(is_store ? this_ref.get_type_id() : address_type::invalid) |
Definition at line 209 of file net_utils_base.h.