Documentation ¶
Index ¶
- type Kernel
- func (k *Kernel) AddPath(pfx *net.Prefix, path *route.Path) error
- func (k *Kernel) AddPathInitialDump(pfx *net.Prefix, path *route.Path) error
- func (k *Kernel) ClientCount() uint64
- func (k *Kernel) Dispose()
- func (k *Kernel) Dump() []*route.Route
- func (k *Kernel) RefreshRoute(*net.Prefix, []*route.Path)
- func (k *Kernel) Register(routingtable.RouteTableClient)
- func (k *Kernel) RegisterWithOptions(routingtable.RouteTableClient, routingtable.ClientOptions)
- func (k *Kernel) RemovePath(pfx *net.Prefix, path *route.Path) bool
- func (k *Kernel) ReplaceFilterChain(c filter.Chain)
- func (k *Kernel) ReplacePath(*net.Prefix, *route.Path, *route.Path)
- func (k *Kernel) RouteCount() int64
- func (k *Kernel) Unregister(routingtable.RouteTableClient)
- func (k *Kernel) UpdateNewClient(routingtable.RouteTableClient) error
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 (*Kernel) AddPathInitialDump ¶
func (*Kernel) ClientCount ¶
func (*Kernel) RefreshRoute ¶
RefreshRoute is here to fultill an interface
func (*Kernel) Register ¶
func (k *Kernel) Register(routingtable.RouteTableClient)
func (*Kernel) RegisterWithOptions ¶
func (k *Kernel) RegisterWithOptions(routingtable.RouteTableClient, routingtable.ClientOptions)
func (*Kernel) ReplaceFilterChain ¶
ReplaceFilterChain is here to fulfill an interface
func (*Kernel) ReplacePath ¶
ReplacePath is here to fulfill an interface
func (*Kernel) RouteCount ¶
func (*Kernel) Unregister ¶
func (k *Kernel) Unregister(routingtable.RouteTableClient)
func (*Kernel) UpdateNewClient ¶
func (k *Kernel) UpdateNewClient(routingtable.RouteTableClient) error
Click to show internal directories.
Click to hide internal directories.