module BetterIpaddr::Constants
Namespace for constants used by BetterIpaddr
Constants
- FAMILY_TO_BIT_LENGTH
Map each address family to the size of its address space, in bits.
- NETMASK_TO_PREFIX_LENGTH
Map all possible netmasks to the corresponding prefix lengths.
- PREFIX_LENGTH_TO_NETMASK
Map all possible prefix lengths to the corresponding netmasks.
- SYMBOL_TO_FAMILY
Map well known address family names to constants.