Documentation
¶
Overview ¶
Package kernel - describe kernel mechanism
Index ¶
Constants ¶
View Source
const ( MECHANISM = "KERNEL_INTERFACE" // LinuxIfMaxLength - Linux has a limit of 15 characters for an interface name LinuxIfMaxLength = 15 // SocketFilename - socket filename memif mechanism property key SocketFilename = "socketfile" // Master - NSMgr name Master = "master" // Slave - NSMgr name Slave = "slave" // WorkspaceNSEName - NSE workspace name mechanism property key WorkspaceNSEName = "workspaceNseName" // MemifSocket - memif socket filename MemifSocket = "memif.sock" // NsmBaseDirEnv - NSM location directory NsmBaseDirEnv = "NSM_BASE_DIR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mechanism ¶
type Mechanism interface { // GetNetNsInode - return net ns inode GetNetNsInode() string GetParameters() map[string]string }
Mechanism - kernel mechanism helper
func ToMechanism ¶
func ToMechanism(m *connection.Mechanism) Mechanism
ToMechanism - convert unified mechanism to helper
Click to show internal directories.
Click to hide internal directories.