Changeset View
Changeset View
Standalone View
Standalone View
src/netaddress.h
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | public: | ||||
bool IsHeNet() const; | bool IsHeNet() const; | ||||
bool IsTor() const; | bool IsTor() const; | ||||
bool IsI2P() const; | bool IsI2P() const; | ||||
bool IsCJDNS() const; | bool IsCJDNS() const; | ||||
bool IsLocal() const; | bool IsLocal() const; | ||||
bool IsRoutable() const; | bool IsRoutable() const; | ||||
bool IsInternal() const; | bool IsInternal() const; | ||||
bool IsValid() const; | bool IsValid() const; | ||||
/** | |||||
* Check if the current object can be serialized in pre-ADDRv2/BIP155 | |||||
* format. | |||||
*/ | |||||
bool IsAddrV1Compatible() const; | |||||
enum Network GetNetwork() const; | enum Network GetNetwork() const; | ||||
std::string ToString() const; | std::string ToString() const; | ||||
std::string ToStringIP() const; | std::string ToStringIP() const; | ||||
uint64_t GetHash() const; | uint64_t GetHash() const; | ||||
bool GetInAddr(struct in_addr *pipv4Addr) const; | bool GetInAddr(struct in_addr *pipv4Addr) const; | ||||
uint32_t GetNetClass() const; | uint32_t GetNetClass() const; | ||||
//! For IPv4, mapped IPv4, SIIT translated IPv4, Teredo, 6to4 tunneled | //! For IPv4, mapped IPv4, SIIT translated IPv4, Teredo, 6to4 tunneled | ||||
▲ Show 20 Lines • Show All 330 Lines • Show Last 20 Lines |