FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
The IPv4 FIB. More...
Public Member Functions | |
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0) | |
Required for pool_get_aligned. More... | |
Data Fields | |
ip4_fib_mtrie_t | mtrie |
Mtrie for fast lookups. More... | |
uword * | fib_entry_by_dst_address [33] |
u32 | table_id |
u32 | index |
The IPv4 FIB.
FIBs are composed of two prefix data-bases (akak tables). The non-forwarding table contains all the routes that the control plane has programmed, the forwarding table contains the sub-set of those routes that can be used to forward packets. In the IPv4 FIB the non-forwarding table is an array of hash tables indexed by mask length, the forwarding table is an mtrie
This IPv4 FIB is used by the protocol independent FIB. So directly using this APIs in client code is not encouraged. However, this IPv4 FIB can be used if all the client wants is an IPv4 prefix data-base
ip4_fib_t_::CLIB_CACHE_LINE_ALIGN_MARK | ( | cacheline0 | ) |
Required for pool_get_aligned.
ip4_fib_mtrie_t ip4_fib_t_::mtrie |