Versions in this module Expand all Collapse all v1 v1.4.0 Aug 27, 2024 Changes in this version type NetlinkLib + LinkByIndex func(index int) (Link, error) + LinkList func() ([]Link, error) v1.3.0 Jun 16, 2024 Changes in this version + type Link interface + type NetlinkLib interface + DevLinkGetDeviceByName func(bus string, device string) (*netlink.DevlinkDevice, error) + DevLinkSetEswitchMode func(dev *netlink.DevlinkDevice, newMode string) error + DevlinkGetDeviceParamByName func(bus string, device string, param string) (*netlink.DevlinkParam, error) + DevlinkSetDeviceParam func(bus string, device string, param string, cmode uint8, value interface{}) error + IsLinkAdminStateUp func(link Link) bool + LinkByName func(name string) (Link, error) + LinkSetMTU func(link Link, mtu int) error + LinkSetUp func(link Link) error + LinkSetVfHardwareAddr func(link Link, vf int, hwaddr net.HardwareAddr) error + LinkSetVfNodeGUID func(link Link, vf int, nodeguid net.HardwareAddr) error + LinkSetVfPortGUID func(link Link, vf int, portguid net.HardwareAddr) error + RdmaLinkByName func(name string) (*netlink.RdmaLink, error) + VDPADelDev func(name string) error + VDPAGetDevByName func(name string) (*netlink.VDPADev, error) + VDPANewDev func(name, mgmtBus, mgmtName string, params netlink.VDPANewDevParams) error + func New() NetlinkLib