Documentation ¶
Index ¶
- func FirstIPInSubnet(addr *net.IPNet) (net.IP, error)
- func GenerateNetworkFilters(filters map[string][]string) ([]types.FilterFunc, error)
- func GetLiveNetworkNames() ([]string, error)
- func GetLiveNetworkSubnets() ([]*net.IPNet, error)
- func GetRandomIPv6Subnet() (net.IPNet, error)
- func IsIPv4(netIP net.IP) bool
- func IsIPv6(netIP net.IP) bool
- func LastIPInSubnet(addr *net.IPNet) (net.IP, error)
- func NetworkIntersectsWithNetworks(n *net.IPNet, networklist []*net.IPNet) bool
- func NextSubnet(subnet *net.IPNet) (*net.IPNet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstIPInSubnet ¶
FirstIPInSubnet gets the first IP in a subnet
func GenerateNetworkFilters ¶
func GenerateNetworkFilters(filters map[string][]string) ([]types.FilterFunc, error)
func GetLiveNetworkNames ¶
GetLiveNetworkNames returns a list of network interface names on the system
func GetLiveNetworkSubnets ¶
GetLiveNetworkSubnets returns a slice of subnets representing what the system has defined as network interfaces
func GetRandomIPv6Subnet ¶
GetRandomIPv6Subnet returns a random internal ipv6 subnet as described in RFC3879.
func LastIPInSubnet ¶
LastIPInSubnet gets the last IP in a subnet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.