kernel

package
v0.0.3-pre4.0...-0ec3cfc Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kernel

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

func New

func New() (*Kernel, error)

func (*Kernel) AddPath

func (k *Kernel) AddPath(pfx *net.Prefix, path *route.Path) error

func (*Kernel) AddPathInitialDump

func (k *Kernel) AddPathInitialDump(pfx *net.Prefix, path *route.Path) error

func (*Kernel) ClientCount

func (k *Kernel) ClientCount() uint64

func (*Kernel) Dispose

func (k *Kernel) Dispose()

func (*Kernel) Dump

func (k *Kernel) Dump() []*route.Route

func (*Kernel) RefreshRoute

func (k *Kernel) RefreshRoute(*net.Prefix, []*route.Path)

RefreshRoute is here to fultill an interface

func (*Kernel) Register

func (k *Kernel) Register(routingtable.RouteTableClient)

func (*Kernel) RegisterWithOptions

func (*Kernel) RemovePath

func (k *Kernel) RemovePath(pfx *net.Prefix, path *route.Path) bool

func (*Kernel) ReplaceFilterChain

func (k *Kernel) ReplaceFilterChain(c filter.Chain)

ReplaceFilterChain is here to fulfill an interface

func (*Kernel) ReplacePath

func (k *Kernel) ReplacePath(*net.Prefix, *route.Path, *route.Path)

ReplacePath is here to fulfill an interface

func (*Kernel) RouteCount

func (k *Kernel) RouteCount() int64

func (*Kernel) Unregister

func (k *Kernel) Unregister(routingtable.RouteTableClient)

func (*Kernel) UpdateNewClient

func (k *Kernel) UpdateNewClient(routingtable.RouteTableClient) error

Jump to

Keyboard shortcuts

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