Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountAddresses ¶
CountAddresses calculates the number of addresses within the given CIDR. If the given CIDR is in fact an IP (includes no /), 1 will bne returned. If the number of addresses overflows an unsigned 64-bit int, the maximum value of an unsigned 64-bit int will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.