Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
netaddress.h
Go to the documentation of this file.
64 bool IsRFC5737() const; // IPv4 documentation addresses (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24)
int GetReachabilityFrom(const CNetAddr *paddrPartner=nullptr) const
Calculates a metric for how reachable (*this) is from a given partner.
Definition: netaddress.cpp:414
Definition: netaddress.h:26
Definition: netaddress.h:27
Definition: netaddress.h:29
Definition: netaddress.h:24
friend bool operator==(const CService &a, const CService &b)
Definition: netaddress.cpp:517
std::string ToStringIP(bool fUseGetnameinfo=true) const
Definition: netaddress.cpp:261
Definition: netaddress.h:105
friend bool operator!=(const CNetAddr &a, const CNetAddr &b)
Definition: netaddress.h:92
friend bool operator!=(const CSubNet &a, const CSubNet &b)
Definition: netaddress.h:129
bool GetSockAddr(struct sockaddr *paddr, socklen_t *addrlen) const
Definition: netaddress.cpp:527
friend bool operator!=(const CService &a, const CService &b)
Definition: netaddress.h:158
A combination of a network address (CNetAddr) and a (TCP) port.
Definition: netaddress.h:143
friend bool operator<(const CService &a, const CService &b)
Definition: netaddress.cpp:522
friend bool operator==(const CSubNet &a, const CSubNet &b)
Definition: netaddress.cpp:716
void SerializationOp(Stream &s, Operation ser_action)
Definition: netaddress.h:171
IP address (IPv6, or IPv4 using mapped IPv6 range (::FFFF:0:0/96))
Definition: netaddress.h:33
friend bool operator<(const CNetAddr &a, const CNetAddr &b)
Definition: netaddress.cpp:298
friend bool operator==(const CNetAddr &a, const CNetAddr &b)
Definition: netaddress.cpp:293
Definition: netaddress.h:25
friend bool operator<(const CSubNet &a, const CSubNet &b)
Definition: netaddress.cpp:721
void SerializationOp(Stream &s, Operation ser_action)
Definition: netaddress.h:135
void SetRaw(Network network, const uint8_t *data)
Set raw IPv4 or IPv6 address (in network byte order)
Definition: netaddress.cpp:31
std::string ToStringIPPort(bool fUseGetnameinfo=true) const
Definition: netaddress.cpp:572
bool SetInternal(const std::string &name)
Transform an arbitrary string into a non-routable ipv6 address.
Definition: netaddress.cpp:47
void SerializationOp(Stream &s, Operation ser_action)
Definition: netaddress.h:98
Definition: netaddress.h:23