Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/netbase.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | public: | ||||
bool IsLocal() const; | bool IsLocal() const; | ||||
bool IsRoutable() const; | bool IsRoutable() const; | ||||
bool IsValid() const; | bool IsValid() const; | ||||
bool IsMulticast() const; | bool IsMulticast() 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; | ||||
unsigned int GetByte(int n) const; | unsigned int GetByte(int n) const; | ||||
uint64 GetHash() const; | uint64_t GetHash() const; | ||||
bool GetInAddr(struct in_addr *pipv4Addr) const; | bool GetInAddr(struct in_addr *pipv4Addr) const; | ||||
std::vector<uint8_t> GetGroup() const; | std::vector<uint8_t> GetGroup() const; | ||||
int GetReachabilityFrom(const CNetAddr *paddrPartner = nullptr) const; | int GetReachabilityFrom(const CNetAddr *paddrPartner = nullptr) const; | ||||
void print() const; | void print() const; | ||||
CNetAddr(const struct in6_addr &pipv6Addr); | CNetAddr(const struct in6_addr &pipv6Addr); | ||||
bool GetIn6Addr(struct in6_addr *pipv6Addr) const; | bool GetIn6Addr(struct in6_addr *pipv6Addr) const; | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |