vxlan

package
v1.12.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Overview

Package vxlan provides networkservice.NetworkService{Client,Server} chain elements for the vxlan mechanism

Index

Constants

View Source
const (
	// MECHANISM string
	MECHANISM = vxlan.MECHANISM
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(vppConn api.Connection, tunnelIP net.IP, options ...Option) networkservice.NetworkServiceClient

NewClient - returns a new client for the vxlan remote mechanism

func NewServer

func NewServer(vppConn api.Connection, tunnelIP net.IP, options ...Option) networkservice.NetworkServiceServer

NewServer - returns a new server for the vxlan remote mechanism

Types

type Option added in v1.1.0

type Option func(o *vxlanOptions)

Option is an option pattern for vxlan server/client

func WithPort added in v1.3.0

func WithPort(port uint16) Option

WithPort sets vxlan udp port

Directories

Path Synopsis
Package mtu computes the mtu for the vxlan tunnel and adds it to the mechanism
Package mtu computes the mtu for the vxlan tunnel and adds it to the mechanism

Jump to

Keyboard shortcuts

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