|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
30 #ifndef __IP4_FIB_16_H__
31 #define __IP4_FIB_16_H__
void ip4_fib_16_table_entry_insert(ip4_fib_16_t *fib, const ip4_address_t *addr, u32 len, fib_node_index_t fib_entry_index)
ip4_fib_hash_t hash
The hash table DB.
fib_node_index_t ip4_fib_16_table_lookup_exact_match(const ip4_fib_16_t *fib, const ip4_address_t *addr, u32 len)
struct ip4_fib_16_t_ ip4_fib_16_t
The IPv4 FIB.
void ip4_fib_16_table_sub_tree_walk(ip4_fib_16_t *fib, const fib_prefix_t *root, fib_table_walk_fn_t fn, void *ctx)
Walk all entries in a sub-tree of the FIB table N.B: This is NOT safe to deletes.
void ip4_fib_16_table_fwding_dpo_remove(ip4_fib_16_t *fib, const ip4_address_t *addr, u32 len, const dpo_id_t *dpo, fib_node_index_t cover_index)
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
Required for pool_get_aligned.
ip4_fib_16_t * ip4_fib_16s
u32 fib_node_index_t
A typedef of a node index.
void ip4_fib_16_table_fwding_dpo_update(ip4_fib_16_t *fib, const ip4_address_t *addr, u32 len, const dpo_id_t *dpo)
void ip4_fib_16_table_init(ip4_fib_16_t *fib)
fib_node_index_t ip4_fib_16_table_lookup(const ip4_fib_16_t *fib, const ip4_address_t *addr, u32 len)
fib_table_walk_rc_t(* fib_table_walk_fn_t)(fib_node_index_t fei, void *ctx)
Call back function when walking entries in a FIB table.
void ip4_fib_16_table_entry_remove(ip4_fib_16_t *fib, const ip4_address_t *addr, u32 len)
void ip4_fib_16_table_free(ip4_fib_16_t *fib)
u32 ip4_fib_16_table_lookup_lb(ip4_fib_16_t *fib, const ip4_address_t *dst)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
The mutiway-TRIE with a 16-8-8 stride.
void ip4_fib_16_table_walk(ip4_fib_16_t *fib, fib_table_walk_fn_t fn, void *ctx)
Walk all entries in a FIB table N.B: This is NOT safe to deletes.
ip4_mtrie_16_t mtrie
Mtrie for fast lookups.
Aggregate type for a prefix.