ipv6_unique_local?()
Returns true for IPv6 unique local address (fc00::/7, RFC4193). It returns false otherwise.
static VALUE addrinfo_ipv6_unique_local_p(VALUE self) { struct in6_addr *addr = extract_in6_addr(self); if (addr && IN6_IS_ADDR_UNIQUE_LOCAL(addr)) return Qtrue; return Qfalse; }