Expand description
Structs§
Enums§
- Conversion
Type - This enum is used whether the user wants to convert subnet mask to prefix length or prefix length to subnet mask.
Functions§
- prefix_
to_ subnet - Calculate the subnet mask from the given prefix length.
- subnet_
to_ prefix - Calculate the prefix length from the given subnet mask.