Package netaddr :: Module misc
[frames] | no frames]

Module misc

source code

Miscellanous functions and classes. Do not rely on anything in here as it is liable to change, move or be deleted with each release.

Functions
 
ipv4_cidr_prefixes()
Returns a recordset (list of dicts) of host/network breakdown for IPv4 using all of the various CIDR prefixes.
source code
 
ipv6_cidr_prefixes()
Returns a recordset (list of dicts) of host/network breakdown for IPv6 using all of the various CIDR prefixes.
source code
 
print_ipv4_cidr_prefixes()
Prints a table to stdout of host/network breakdown for IPv4 using CIDR notation.
source code
 
print_ipv6_cidr_prefixes()
Prints a table to stdout of host/network breakdown for IPv6 using CIDR notation.
source code