Documentation
¶
Index ¶
- func GetCiliumHostInterface() (net.Interface, error)
- func GetHostEth0Interface() (net.Interface, error)
- func IpToUint32(ip net.IP) uint32
- func IsInternetIP(ip netip.Addr) bool
- func ListCiliumVeths() ([]net.Interface, error)
- func MaskToUint32(mask net.IPMask) uint32
- func StringIpToNetIp(ip string) (net.IP, error)
- func Uint32ToIP(n uint32) net.IP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCiliumHostInterface ¶
func GetHostEth0Interface ¶
func IsInternetIP ¶
isInternetIP returns true if the IP is globally routable on the public Internet.
func ListCiliumVeths ¶
ListCiliumVeths returns all network interfaces whose name starts with "lxc".
func MaskToUint32 ¶
maskToUint32 converts a net.IPMask to a uint32
func Uint32ToIP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.