docker: github.com/docker/docker/vendor/github.com/docker/libnetwork/ns Index | Files

package ns

import "github.com/docker/docker/vendor/github.com/docker/libnetwork/ns"

Index

Package Files

init_linux.go

Variables

var (

    // NetlinkSocketsTimeout represents the default timeout duration for the sockets
    NetlinkSocketsTimeout = 3 * time.Second
)

func Init Uses

func Init()

Init initializes a new network namespace

func NlHandle Uses

func NlHandle() *netlink.Handle

NlHandle returns the netlink handler

func ParseHandlerInt Uses

func ParseHandlerInt() int

ParseHandlerInt transforms the namespace handler into an integer

func SetNamespace Uses

func SetNamespace() error

SetNamespace sets the initial namespace handler

Package ns imports 10 packages (graph). Updated 2019-08-02. Refresh now. Tools for package owners.