netlink

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDefaultGw

func AddDefaultGw(ip net.IP) error

func NetworkGetRoutes

func NetworkGetRoutes() ([]*net.IPNet, error)

func NetworkLinkAdd

func NetworkLinkAdd(name string, linkType string) error

func NetworkLinkAddIp

func NetworkLinkAddIp(iface *net.Interface, ip net.IP, ipNet *net.IPNet) error

func NetworkLinkUp

func NetworkLinkUp(iface *net.Interface) error

func NetworkSetMTU

func NetworkSetMTU(iface *net.Interface, mtu int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL