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