Module iptools::ipv4

source ·

Constants

Statics

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