vxlan

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

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

func NewVxlanDevice

func NewVxlanDevice(name string, vxlanID int, parent string, localAddr net.IP, port int, baseReachableTime time.Duration,
	learning bool) (*Device, error)
func (dev *Device) Link() *netlink.Vxlan

func (*Device) MacAddr

func (dev *Device) MacAddr() net.HardwareAddr

func (*Device) RecordVtepInfo

func (dev *Device) RecordVtepInfo(vtepMac net.HardwareAddr, vtepIP net.IP)

func (*Device) SyncVtepInfo

func (dev *Device) SyncVtepInfo(execDel bool) error

Jump to

Keyboard shortcuts

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