ipv6_unspecified?()
Returns true for IPv6 unspecified address (::). It returns false otherwise.
static VALUE addrinfo_ipv6_unspecified_p(VALUE self) { struct in6_addr *addr = extract_in6_addr(self); if (addr && IN6_IS_ADDR_UNSPECIFIED(addr)) return Qtrue; return Qfalse; }