Documentation ¶
Overview ¶
Package fibreplica controls a FIB replica in C.Fib struct.
Index ¶
- type Entry
- type Table
- func (t *Table) Close() error
- func (t *Table) DiscardUpdate(u *UpdateCommand)
- func (t *Table) ExecuteUpdate(u *UpdateCommand)
- func (t *Table) Get(name ndn.Name) *Entry
- func (t *Table) Lpm(name ndn.Name) *Entry
- func (t *Table) PrepareUpdate(tu fibdef.Update) (*UpdateCommand, error)
- func (t *Table) Ptr() unsafe.Pointer
- type UpdateCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry represents a FIB entry.
func (*Entry) AccCounters ¶
func (entry *Entry) AccCounters(cnt *fibdef.EntryCounters, t *Table)
AccCounters adds to counters.
func (*Entry) FibSeqNum ¶
FibSeqNum returns the FIB insertion sequence number recorded in this entry.
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table represents a FIB replica.
func (*Table) DiscardUpdate ¶
func (t *Table) DiscardUpdate(u *UpdateCommand)
DiscardUpdate releases resources in an unexecuted update.
func (*Table) ExecuteUpdate ¶
func (t *Table) ExecuteUpdate(u *UpdateCommand)
ExecuteUpdate applies an update.
func (*Table) PrepareUpdate ¶
func (t *Table) PrepareUpdate(tu fibdef.Update) (*UpdateCommand, error)
PrepareUpdate prepares an update.
type UpdateCommand ¶
type UpdateCommand struct {
// contains filtered or unexported fields
}
UpdateCommand represents a prepared update command.
Click to show internal directories.
Click to hide internal directories.