Documentation ¶
Index ¶
- type Bridge
- type Link
- func (Link) AddDefaultGW(intf *net.Interface, ip net.IP) error
- func (Link) AddIP(intf *net.Interface, ip net.IP, subnet *net.IPNet) error
- func (Link) InterfaceByName(name string) (*net.Interface, bool, error)
- func (Link) List() (names []string, err error)
- func (Link) SetMTU(intf *net.Interface, mtu int) error
- func (Link) SetNs(intf *net.Interface, ns int) error
- func (Link) SetUp(intf *net.Interface) error
- type VethCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct{}
type VethCreator ¶
type VethCreator struct{}
Click to show internal directories.
Click to hide internal directories.