Constants
- Inter-network communications testing RFC 2544
- Broadcast messages to the current network (only valid as destination address) RFC 919
- Broadcast messages to the current network (only valid as source address) RFC 5735
- Dual-Stack Lite link address RFC 6333
- IETF protocol assignments reserved block RFC 5735
- 6to4 anycast relay RFC 3068
- Autoconfiguration when no IP address available RFC 3972
- Common
localhost
address RFC 5735 - Loopback addresses on the local host RFC 5735
- Last ip
- First ip
- Multicast reserved block RFC 5771
- Forwardable multicast RFC 5771
- Link local multicast RFC 5771
- Private network RFC 1918
- Private network RFC 1918
- Private network RFC 1918
- Former Class E address space. Reserved for future use RFC 1700
- Carrier-grade NAT private network RFC 6598
- Documentation and example network RFC 5737
- Documentation and example network RFC 5737
- Documentation and example network RFC 5737
Statics
- IETF and IANA reserved ip addresses
Functions
- Convert a CIDR notation ip address into a tuple containing the network block start and end addresses
- Convert a hex encoded integer to a dotted-quad ip address
- Convert a dotted-quad ip address to a hex encoded number
- Convert a dotted-quad ip address to a network byte order 32 bit integer
- Convert a dotted-quad ip to base network number
- Convert a network byte order 32 bit integer to a dotted quad ip address
- Convert a dotted-quad netmask into a CIDR prefix
- Convert a dotted-quad ip address including a netmask into a tuple containing the network block start and end addresses
- Validate a CIDR notation
- Validates a dotted-quad ip address
- Validate that a dotted-quad ip address is a valid netmask
- Validate a dotted-quad ip adress including a netmask