Module ip

Source

Functionsยง

check_subnet
Returns whether the ip address is included in the address space.
get_bit
Returns a string of the ip address converted to 32 bits.
get_broadcast_address
Returns the broadcast address of the ip address and prefix.
get_network_address
Returns the network address of the ip address and prefix.
get_subnet_mask
Returns the subnet mask of the prefix.