ipv6_mc_orglocal?

ipv6_mc_orglocal?() Instance Public methods Returns true for IPv6 multicast organization-local scope address. It returns false otherwise.

ipv6_mc_nodelocal?

ipv6_mc_nodelocal?() Instance Public methods Returns true for IPv6 multicast node-local scope address. It returns false otherwise.

ipv6_mc_linklocal?

ipv6_mc_linklocal?() Instance Public methods Returns true for IPv6 multicast link-local scope address. It returns false otherwise.

ipv6_mc_global?

ipv6_mc_global?() Instance Public methods Returns true for IPv6 multicast global scope address. It returns false otherwise.

ipv6_loopback?

ipv6_loopback?() Instance Public methods Returns true for IPv6 loopback address (::1). It returns false otherwise.

ipv6_linklocal?

ipv6_linklocal?() Instance Public methods Returns true for IPv6 link local address (ff80::/10). It returns false otherwise.

ipv6?

addrinfo.ipv6? => true or false Instance Public methods returns true if addrinfo is IPv6 address. returns false otherwise. Addrinfo.tcp("127.0.0.1", 80).ipv6? #=> false Addrinfo.tcp("::1", 80).ipv6? #=> true Addrinfo.unix("/tmp/sock").ipv6? #=> false

ipv4_private?

ipv4_private?() Instance Public methods Returns true for IPv4 private address (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). It returns false otherwise.

ipv4_multicast?

ipv4_multicast?() Instance Public methods Returns true for IPv4 multicast address (224.0.0.0/4). It returns false otherwise.

ipv4_loopback?

ipv4_loopback?() Instance Public methods Returns true for IPv4 loopback address (127.0.0.0/8). It returns false otherwise.