netns

package
v4.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetlink(name string) (netns.NsHandle, *netlink.Handle, error)

NewNetlink returns netlink handle created in the specified netns

func NewNetns

func NewNetns(name string) (netns.NsHandle, error)

NewNetns creates and returns named network namespace, or the current namespace if no name is specified

Types

This section is empty.

Jump to

Keyboard shortcuts

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