ndn-lite
Functions
fib.c File Reference
#include "fib.h"

Functions

static void ndn_fib_entry_reset (ndn_fib_entry_t *self)
 
void ndn_fib_init (void *memory, ndn_table_id_t capacity, ndn_nametree_t *nametree)
 
static void ndn_fib_remove_entry (ndn_fib_t *self, ndn_fib_entry_t *entry)
 
void ndn_fib_remove_entry_if_empty (ndn_fib_t *self, ndn_fib_entry_t *entry)
 
void ndn_fib_unregister_face (ndn_fib_t *self, ndn_table_id_t face_id)
 
static ndn_table_id_t ndn_fib_add_new_entry (ndn_fib_t *fib, int nametree_id)
 
ndn_fib_entry_tndn_fib_find_or_insert (ndn_fib_t *self, uint8_t *prefix, size_t length)
 
ndn_fib_entry_tndn_fib_find (ndn_fib_t *self, uint8_t *prefix, size_t length)
 
ndn_fib_entry_tndn_fib_prefix_match (ndn_fib_t *self, uint8_t *prefix, size_t length)
 

Function Documentation

◆ ndn_fib_add_new_entry()

static ndn_table_id_t ndn_fib_add_new_entry ( ndn_fib_t fib,
int  nametree_id 
)
static

◆ ndn_fib_entry_reset()

static void ndn_fib_entry_reset ( ndn_fib_entry_t self)
inlinestatic

◆ ndn_fib_remove_entry()

static void ndn_fib_remove_entry ( ndn_fib_t self,
ndn_fib_entry_t entry 
)
inlinestatic