Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + func Delete(name string, netNS ns.NetNS) error + func DeviceNameFromInputBytes(input []byte) string + func Exists(name string, netNS ns.NetNS) bool + func Get(name string, netNS ns.NetNS) (link netlink.Link, err error) + func GetMAC(name string, netNS ns.NetNS) (net.HardwareAddr, error) + func HardwareAddrFromInputBytes(b []byte) net.HardwareAddr + func HasDefaultGW(link netlink.Link, family int) (bool, net.IP, error) + func HostIPV6Iface(useZos bool) (string, error) + func IPv6SuffixFromInputBytes(b []byte, n int) []byte + func IPv6SuffixFromInputBytesAsHex(b []byte, n int) string + func IsPlugged(inf string) bool + func IsPluggedTimeout(name string, duration time.Duration) bool + func IsULA(ip net.IP) bool + func IsVirtEth(inf string) bool + func LinkFilter(links []netlink.Link, types []string) []netlink.Link + func MakeVethPair(name, master string, mtu int, peerPrefix string) (netlink.Link, error) + func ParentIface(iface string, netNS ns.NetNS) (netlink.Link, error) + func RandomName(prefix string) (string, error) + func SetLoUp() error + func SetMAC(name string, mac net.HardwareAddr, netNS ns.NetNS) error + func VethByName(name string) (netlink.Link, error)