Documentation ¶
Index ¶
- func AddDefaultGw(ip net.IP) error
- func NetworkGetRoutes() ([]*net.IPNet, error)
- func NetworkLinkAdd(name string, linkType string) error
- func NetworkLinkAddIp(iface *net.Interface, ip net.IP, ipNet *net.IPNet) error
- func NetworkLinkUp(iface *net.Interface) error
- func NetworkSetMTU(iface *net.Interface, mtu int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultGw ¶
func NetworkGetRoutes ¶
func NetworkLinkAdd ¶
func NetworkLinkAddIp ¶
func NetworkLinkUp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.