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