l3

package
v0.0.0-...-2994df8 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitICMP

func InitICMP(sw *controlplane.Switch)

func InitRouting

func InitRouting(sw *controlplane.Switch)

Types

type ICMPConfig

type ICMPConfig struct {
	LocalAddresses map[string]LocalAddress
}

type LocalAddress

type LocalAddress struct {
	Address string
}

type Port

type Port struct {
	Name    string
	NextHop string
}

type Route

type Route struct {
	Ports []Port
}

type RoutingTable

type RoutingTable struct {
	VLANIfaces map[string]VLANIface
	Routes     map[string]Route
}

type VLANIface

type VLANIface struct {
	IP   string
	MAC  string
	VLAN uint16
}

Jump to

Keyboard shortcuts

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