common

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 3 Imported by: 13

Documentation

Index

Constants

View Source
const (
	SrcIP = "src_ip"
	DstIP = "dst_ip"

	// NetNsInodeKey - netns inode mechanism property key
	NetNsInodeKey = "netnsInode"
	// Workspace - NSM workspace location mechanism property key
	Workspace = "workspace"
	// InterfaceNameKey - interface name mechanism property key
	InterfaceNameKey = "name"
	// InterfaceDescriptionKey - interface description mechanism property key
	InterfaceDescriptionKey = "description"
)

Variables

This section is empty.

Functions

func GetDstIP

func GetDstIP(m *connection.Mechanism) (string, error)

DstIP returns the destination IP parameter of the Mechanism

func GetSrcIP

func GetSrcIP(m *connection.Mechanism) (string, error)

SrcIP returns the source IP parameter of the Mechanism

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL