[−][src]Module iptools::ipv6
Constants
DOCUMENTATION_NETWORK | Documentation and example network RFC 3849 |
IPV4_MAPPED | IPv4 mapped to IPv6 (not globally routable) RFC 4291 |
IPV6_TO_IPV4_NETWORK | 6to4 Address block RFC 3056 |
LINK_LOCAL | Link-Local unicast networks (not globally routable) RFC 4291 |
LOCALHOST | Common |
LOOPBACK | Loopback addresses on the local host RFC 4291 |
MAX_IP | Last ip |
MIN_IP | First ip |
MULTICAST | Multicast reserved block RFC 5771 |
MULTICAST_GLOBAL | Organization-Local multicast |
MULTICAST_LOCAL | Link-Local multicast |
MULTICAST_LOCAL_DHCP | All DHCP servers and relay agents on the local segment |
MULTICAST_LOCAL_NODES | All nodes on the local segment |
MULTICAST_LOCAL_ROUTERS | All routers on the local segment |
MULTICAST_LOOPBACK | Interface-Local multicast |
MULTICAST_SITE | Site-Local multicast |
MULTICAST_SITE_DHCP | All DHCP servers and relay agents on the local site |
MULTICAST_SITE_ORG | Organization-Local multicast |
PRIVATE_NETWORK | Private network RFC 4193 |
TEREDO_NETWORK | Teredo addresses RFC 4380 |
UNSPECIFIED_ADDRESS | Absence of an address (only valid as source address) RFC 4291 |
Statics
RESERVED_RANGES | IETF and IANA reserved ip addresses |
Functions
cidr2block | Converts a CIDR notation ip address into a tuple containing the network block start and end addresses |
ip2long | Converts a hexidecimal IPV6 address to a network byte order 128 bit integer |
long2ip | Converts a network byte order 128 bit integer to a canonical IPV6 address |
long2rfc1924 | Converts a network byte order 128 bit integer to an rfc1924 IPV6 address |
rfc19242long | Converts an RFC1924 IPV6 address to a network byte order 128 bit integer |
validate_cidr | Validates a CIDR notation ip address |
validate_ip | Validates a hexidecimal IPV6 ip address |