tunnel

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// MaxEntries is the maximum entries in the tunnel endpoint map
	MaxEntries = 65536
)

Variables

This section is empty.

Functions

func DeleteTunnelEndpoint

func DeleteTunnelEndpoint(prefix net.IP) error

DeleteTunnelEndpoint removes a prefix => tunnel-endpoint mapping

func DumpMap

func DumpMap() error

DumpMap prints the content of the tunnel endpoint map to stdout

func SetTunnelEndpoint

func SetTunnelEndpoint(prefix net.IP, endpoint net.IP) error

SetTunnelEndpoint adds/replaces a prefix => tunnel-endpoint mapping

Types

This section is empty.

Jump to

Keyboard shortcuts

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