Documentation ¶
Index ¶
- func AddrToBinary(addr [4]byte) uint32
- func BinaryToAddr(addr uint32) netip.Addr
- func CIDRNetmask(maskBits int) netip.Addr
- func MaximumAddresses(maskBits int) int
- func MaximumSubnets(maskBits int) int
- func NetmaskStringToBits(mask string) int
- func NetmaskToBits(mask netip.Addr) int
- func WildcardMask(maskBits int) netip.Addr
- type CIDR
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddrToBinary ¶
func BinaryToAddr ¶
func CIDRNetmask ¶
func MaximumAddresses ¶
func MaximumSubnets ¶
func NetmaskStringToBits ¶
func NetmaskToBits ¶
func WildcardMask ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.