bool IsLocalhost() const;
/** Test whether content is an IPv6 Site-Local address.
- \retval true if address begins with fe80::/10.
+ \retval true if address begins with fd00::/8.
\retval false if --disable-ipv6 has been compiled.
- \retval false if address does not match fe80::/10
+ \retval false if address does not match fd00::/8
*/
bool IsSiteLocal6() const;
*/
bool ApplyMask(const unsigned int cidr, int mtype);
-
/** Return the ASCII equivalent of the address
* Semantically equivalent to the IPv4 inet_ntoa()
* eg. 127.0.0.1 (IPv4) or ::1 (IPv6)
static const struct in6_addr v6_noaddr;
};
-
inline std::ostream &
operator << (std::ostream &os, const Address &ipa)
{