kernelforwarder

package
v0.0.0-...-e58ac12 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearInterfaceSetup

func ClearInterfaceSetup(ifaceName string, conn *connection.Connection) (string, error)

ClearInterfaceSetup - deletes interface setup

func SetupInterface

func SetupInterface(ifaceName, tempName string, conn *connection.Connection, isDst bool) (string, error)

SetupInterface - setup interface to namespace

Types

type KernelForwarder

type KernelForwarder struct {
	// contains filtered or unexported fields
}

KernelForwarder instance

func CreateKernelForwarder

func CreateKernelForwarder() *KernelForwarder

CreateKernelForwarder creates an instance of the KernelForwarder

func (*KernelForwarder) Close

func (k *KernelForwarder) Close(ctx context.Context, crossConnect *crossconnect.CrossConnect) (*empty.Empty, error)

Close handler for connections

func (*KernelForwarder) CreateForwarderServer

func (k *KernelForwarder) CreateForwarderServer(config *common.ForwarderConfig) forwarder.ForwarderServer

CreateForwarderServer creates an instance of ForwarderServer

func (*KernelForwarder) Init

func (k *KernelForwarder) Init(common *common.ForwarderConfig) error

Init initializes the Kernel forwarding plane

func (*KernelForwarder) MonitorMechanisms

func (k *KernelForwarder) MonitorMechanisms(empty *empty.Empty, updateSrv forwarder.MechanismsMonitor_MonitorMechanismsServer) error

MonitorMechanisms handler

func (*KernelForwarder) Request

Request handler for connections

type LinkData

type LinkData struct {
	// contains filtered or unexported fields
}

LinkData instance

Directories

Path Synopsis
Package local - controlling local mechanisms interfaces
Package local - controlling local mechanisms interfaces
Package remote - controlling remote mechanisms interfaces
Package remote - controlling remote mechanisms interfaces

Jump to

Keyboard shortcuts

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