Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetLink ¶
type NetLink interface { LinkSetNsPid(link netlink.Link, nspid int) error SetLinkListRtn(b bool) LinkList() ([]netlink.Link, error) LinkSetName(link netlink.Link, name string) error LinkSetUp(link netlink.Link) error LinkSetDown(link netlink.Link) error AddrAdd(link netlink.Link, addr *netlink.Addr) error LinkSetMTU(link netlink.Link, mtu int) error LinkSetMac(link netlink.Link, mac net.HardwareAddr) error }
Click to show internal directories.
Click to hide internal directories.