Versions in this module Expand all Collapse all v0 v0.11.0 May 7, 2014 Changes in this version + var ErrNetworkOverlaps = errors.New("requested network overlaps with existing network") + var ErrNetworkOverlapsWithNameservers = errors.New("requested network overlaps with nameserver") + var ErrNoDefaultRoute = errors.New("no default route") + func CheckNameserverOverlaps(nameservers []string, toCheck *net.IPNet) error + func CheckRouteOverlaps(toCheck *net.IPNet) error + func GetDefaultRouteIface() (*net.Interface, error) + func GetIfaceAddr(name string) (net.Addr, error) + func NetworkOverlaps(netX *net.IPNet, netY *net.IPNet) bool + func NetworkRange(network *net.IPNet) (net.IP, net.IP) + func NetworkSize(mask net.IPMask) int32