|
Electroneum
|
b32 i2p address; internal format not condensed/decoded. More...
#include <i2p_address.h>
Public Member Functions | |
| i2p_address () noexcept | |
An object with port() == 0 and host_str() == unknown_str(). More... | |
| bool | _load (epee::serialization::portable_storage &src, epee::serialization::section *hparent) |
| Load from epee p2p format, and. More... | |
| bool | store (epee::serialization::portable_storage &dest, epee::serialization::section *hparent) const |
| Store in epee p2p format. More... | |
| i2p_address (const i2p_address &rhs) noexcept | |
| ~i2p_address ()=default | |
| i2p_address & | operator= (const i2p_address &rhs) noexcept |
| bool | is_unknown () const noexcept |
| bool | equal (const i2p_address &rhs) const noexcept |
| bool | less (const i2p_address &rhs) const noexcept |
| bool | is_same_host (const i2p_address &rhs) const noexcept |
| std::string | str () const |
| const char * | host_str () const noexcept |
| std::uint16_t | port () const noexcept |
| bool | is_blockable () const noexcept |
Static Public Member Functions | |
| static constexpr std::size_t | buffer_size () noexcept |
| static const char * | unknown_str () noexcept |
| static i2p_address | unknown () noexcept |
| static expect< i2p_address > | make (boost::string_ref address, std::uint16_t default_port=0) |
| static constexpr bool | is_loopback () noexcept |
| static constexpr bool | is_local () noexcept |
| static constexpr epee::net_utils::address_type | get_type_id () noexcept |
| static constexpr epee::net_utils::zone | get_zone () noexcept |
b32 i2p address; internal format not condensed/decoded.
Definition at line 51 of file i2p_address.h.
|
noexcept |
An object with port() == 0 and host_str() == unknown_str().
Definition at line 99 of file i2p_address.cpp.

|
noexcept |
|
default |
| bool net::i2p_address::_load | ( | epee::serialization::portable_storage & | src, |
| epee::serialization::section * | hparent | ||
| ) |
|
inlinestaticnoexcept |
Definition at line 61 of file i2p_address.h.

|
noexcept |
Definition at line 167 of file i2p_address.cpp.
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
Definition at line 117 of file i2p_address.h.
|
inlinenoexcept |
x.b32.i2p value or unknown_str(). Definition at line 104 of file i2p_address.h.

|
inlinenoexcept |
!is_unknown(). Definition at line 123 of file i2p_address.h.

|
inlinestaticnoexcept |
Definition at line 110 of file i2p_address.h.
|
inlinestaticnoexcept |
Definition at line 109 of file i2p_address.h.
|
noexcept |
|
noexcept |
unknown(). Definition at line 161 of file i2p_address.cpp.

|
noexcept |
Definition at line 172 of file i2p_address.cpp.
|
static |
Parse address in b32 i2p format (i.e. x.b32.i2p:80) with default_port being used if port is not specified in address.
Definition at line 107 of file i2p_address.cpp.


|
noexcept |
|
inlinenoexcept |
0 if unspecified. Definition at line 107 of file i2p_address.h.

| bool net::i2p_address::store | ( | epee::serialization::portable_storage & | dest, |
| epee::serialization::section * | hparent | ||
| ) | const |
| std::string net::i2p_address::str | ( | ) | const |
|
inlinestaticnoexcept |
i2p_address object. Definition at line 70 of file i2p_address.h.

|
staticnoexcept |
<unknown tor host>. Definition at line 94 of file i2p_address.cpp.
