ipv6_linklocal?()
Returns true for IPv6 link local address (ff80::/10). It returns false otherwise.
static VALUE addrinfo_ipv6_linklocal_p(VALUE self) { struct in6_addr *addr = extract_in6_addr(self); if (addr && IN6_IS_ADDR_LINKLOCAL(addr)) return Qtrue; return Qfalse; }