Documentation ¶
Index ¶
- func FormatMask(mask net.IPMask) string
- func GetFreeNetwork(base *net.IPNet, prefixLen int) (*net.IPNet, error)
- func GetFreeNetworkBlacklist(base *net.IPNet, prefixLen int, bl []net.IPNet) (*net.IPNet, error)
- func GetIPForInterface(interfaceName string) (ipAddress *net.IPNet, err error)
- func GetLocalIPs() (ips []string)
- func GetLocalNetworks() (nets []net.IPNet)
- func NetworkOverlap(n1, n2 *net.IPNet) bool
- func NetworkOverlapsBlacklist(n *net.IPNet, bl []net.IPNet) bool
- func NetworkOverlapsLocalNetwork(n *net.IPNet) bool
- func NextIP(ip net.IP, inc uint64) net.IP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMask ¶
func GetFreeNetworkBlacklist ¶
func GetIPForInterface ¶
func GetLocalIPs ¶
func GetLocalIPs() (ips []string)
func GetLocalNetworks ¶
func NetworkOverlap ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.