Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface { AddrList(Link, int) ([]netlink.Addr, error) LinkList() ([]Link, error) LinkByName(string) (Link, error) LinkAdd(Link) error LinkDel(Link) error LinkSetName(Link, string) error LinkSetMTU(Link, int) error LinkSetMaster(Link, Link) error LinkSetUp(Link) error LinkSetDown(Link) error LinkSetNsFd(Link, int) error LinkSetHardwareAddr(Link, net.HardwareAddr) error NeighSet(*Neigh) error Delete() }
type LinkNotFoundError ¶
type LinkNotFoundError = netlink.LinkNotFoundError
Click to show internal directories.
Click to hide internal directories.