NDN-DPDK
High-Speed Named Data Networking Forwarder
|
#include "fib.h"
Functions | |
void | Fib_Clear (Fib *fib) |
Delete all entries. More... | |
bool | Fib_AllocBulk (struct rte_mempool *fibMp, FibEntry *entries[], unsigned count) |
Allocate and zero entries. More... | |
void | Fib_Write (Fib *fib, FibEntry *entry) |
Insert or replace a FIB entry. More... | |
void | Fib_Erase (Fib *fib, FibEntry *entry) |
Erase given FIB entry. More... | |
FibEntry * | Fib_Get (Fib *fib, LName name, uint64_t hash) |
Retrieve FIB entry. More... | |
FibEntry * | Fib_Lpm (Fib *fib, const PName *name) |
Perform longest prefix match. More... | |
bool Fib_AllocBulk | ( | struct rte_mempool * | fibMp, |
FibEntry * | entries[], | ||
unsigned | count | ||
) |
Allocate and zero entries.
void Fib_Clear | ( | Fib * | fib | ) |
Delete all entries.
Erase given FIB entry.
Retrieve FIB entry.
Perform longest prefix match.