package netlink
import "github.com/dotcloud/docker/pkg/netlink"
Packet netlink provide access to low level Netlink sockets and messages.
Actual implementations are in: netlink_linux.go netlink_darwin.go
Index ¶
- func AddDefaultGw(ip net.IP) 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
- type Route
Functions ¶
func AddDefaultGw ¶
func NetworkLinkAdd ¶
func NetworkLinkAddIp ¶
func NetworkLinkUp ¶
func NetworkSetMTU ¶
Types ¶
type Route ¶
A Route is a subnet associated with the interface to reach it.
func NetworkGetRoutes ¶
Source Files ¶
netlink.go netlink_unsupported.go
- Version
- v0.8.0
- Published
- Feb 5, 2014
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 39 seconds ago –
Tools for package owners.