netns

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVeth

func CreateVeth(vethNameHost, vethNameNSTemp string, vethMTU uint16) error

func GetLinkLocalAddr added in v1.1.1

func GetLinkLocalAddr(interfaceName string) net.IP

GetLinkLocalAddr Get the IPv6 link local address of interfaceName

func IsVethExists

func IsVethExists(vethHostName string) (bool, error)

func RemoveVeth

func RemoveVeth(vethNameHost string) error

func SetVethMac

func SetVethMac(vethNameHost, mac string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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