package ns

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

Index

Variables

var (

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

Functions

func Init

func Init()

Init initializes a new network namespace

func NlHandle

func NlHandle() nlwrap.Handle

NlHandle returns the netlink handler

func ParseHandlerInt

func ParseHandlerInt() int

ParseHandlerInt transforms the namespace handler into an integer

Source Files

init_linux.go

Version
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
37 minutes ago

Tools for package owners.