Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the Apache v2.0 license.
Index ¶
- Constants
- func Decrement(ip net.IP) net.IP
- func GetBroadcastAddress(cidr net.IPNet) net.IP
- func GetCIDR(startip, endip net.IP) (*net.IPNet, error)
- func GetIPAddress() (string, error)
- func GetNetworkInterface() (string, error)
- func Increment(ip net.IP) net.IP
- func IsRangeInCIDR(start, end net.IP, cidr *net.IPNet) bool
- func Not(ip net.IP) net.IP
- func Or(ip, ip1 net.IP) net.IP
- func ParseMAC(macString string) (net.HardwareAddr, error)
- func PrefixesOverlap(cidr1 net.IPNet, cidr2 net.IPNet) bool
- func RangeContains(start, end, ip net.IP) bool
- func RangesOverlap(range1start, range1end, range2start, range2end net.IP) bool
- func StringToNetIPAddress(ipString string) net.IP
Constants ¶
View Source
const (
LOOPBACK_ADDRESS = "127.0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
func GetIPAddress ¶
func GetNetworkInterface ¶ added in v0.10.6
func RangeContains ¶ added in v0.10.6
func RangesOverlap ¶ added in v0.10.6
func StringToNetIPAddress ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.