vxlan

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Overview

Package vxlan implements vxlan remote mechanism client and server chain element

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(tunnelIP net.IP, bridgeName string, mutex sync.Locker, vxlanRefCountMap map[string]int, options ...Option) networkservice.NetworkServiceClient

NewClient returns a Vxlan client chain element

func NewServer

func NewServer(tunnelIP net.IP, bridgeName string, mutex sync.Locker, vxlanRefCountMap map[string]int, options ...Option) networkservice.NetworkServiceServer

NewServer - returns a new server for the vxlan remote mechanism

Types

type Option added in v1.13.0

type Option func(o *vxlanOptions)

Option is an option pattern for vxlan server/client

func WithPort added in v1.13.0

func WithPort(port uint16) Option

WithPort sets vxlan udp port

Jump to

Keyboard shortcuts

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