rib

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Initialize(mq <-chan []byte, n *topology.Node, rd *nac.RoutingDomain, np *topology.Policy)
	Close()
	RouteEventQueue() <-chan *RouteEvent
	RelayConnQueue() <-chan *routing.NetHop
	RouterConnQueue() <-chan *routing.NetHop
	RoutingDomain() *nac.RoutingDomain
	GetPolicy(subnetID string) *topology.Policy
	DNSQuery(dnsName string) (ipv4, ipv6 string)
	CheckIPDst(addr string) error
	GetNetHop(addr string) (*routing.NetHop, error)
	GetRelayMAddrs(nh *routing.NetHop) []string
	GetRouterMAddrs(nh *routing.NetHop) []string
	// contains filtered or unexported methods
}

func New

func New() Interface

type RouteEvent

type RouteEvent struct {
	Type      RouteEventType
	Addr      string
	RouteType routing.RouteType
}

type RouteEventType

type RouteEventType int
const (
	RouteEventTypeADD RouteEventType = iota
	RouteEventTypeDELETE
)

Jump to

Keyboard shortcuts

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