Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNetworkOverlapsWithNameservers = errors.New("requested network overlaps with nameserver") ErrNetworkOverlaps = errors.New("requested network overlaps with existing network") )
Functions ¶
func CheckNameserverOverlaps ¶
func CheckRouteOverlaps ¶
func NetworkOverlaps ¶
Detects overlap between one IPNet and another
func NetworkRange ¶
Calculates the first and last IP addresses in an IPNet
func NetworkSize ¶
Given a netmask, calculates the number of available hosts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.