Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NsHandle ¶
type NsHandle int
NsHandle is a handle to a network namespace. It can be cast directly to an int and used as a file descriptor.
func GetFromPath ¶
GetFromPath gets a handle to a network namespace identified by the path
func GetFromPid ¶
GetFromPid gets a handle to the network namespace of a given pid.
func GetFromThread ¶
GetFromThread gets a handle to the network namespace of a given pid and tid.
Click to show internal directories.
Click to hide internal directories.