Module ipv6

Source

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 localhost address RFC 4291
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
Convert a CIDR notation ip address into a tuple containing the network block start and end addresses
ip2long
Convert a hexidecimal IPV6 address to a network byte order 128 bit integer
long2ip
Convert a network byte order 128 bit integer to a canonical IPV6 address
long2rfc1924
Convert a network byte order 128 bit integer to an rfc1924 IPV6 address
rfc19242long
Convert an RFC1924 IPV6 address to a network byte order 128 bit integer
validate_cidr
Validate a CIDR notation ip address
validate_ip
Validate a hexidecimal IPV6 ip address