package ns

import "github.com/docker/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() *netlink.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
v24.0.0-rc.3+incompatible
Published
May 11, 2023
Platform
linux/amd64
Imports
9 packages
Last checked
3 hours ago

Tools for package owners.