FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | lcp_adj_key_t_ |
struct | lcp_adj_kv_t_ |
Typedefs | |
typedef struct lcp_adj_key_t_ | lcp_adj_key_t |
typedef struct lcp_adj_kv_t_ | lcp_adj_kv_t |
Functions | |
STATIC_ASSERT (sizeof(lcp_adj_key_t)==32, "LCP ADJ Key size changed") | |
STATIC_ASSERT (sizeof(lcp_adj_kv_t)==sizeof(BVT(clib_bihash_kv)), "LCP ADJ Key size changed") | |
BVT (clib_bihash) lcp_adj_tbl | |
The table of adjacencies indexed by the rewrite string. More... | |
static_always_inline void | lcp_adj_mk_key (const u8 *rewrite, u8 len, u32 sw_if_index, lcp_adj_key_t *key) |
static_always_inline adj_index_t | lcp_adj_lkup (const u8 *rewrite, u8 len, u32 sw_if_index) |
typedef struct lcp_adj_key_t_ lcp_adj_key_t |
typedef struct lcp_adj_kv_t_ lcp_adj_kv_t |
BVT | ( | clib_bihash | ) |
static_always_inline adj_index_t lcp_adj_lkup | ( | const u8 * | rewrite, |
u8 | len, | ||
u32 | sw_if_index | ||
) |
static_always_inline void lcp_adj_mk_key | ( | const u8 * | rewrite, |
u8 | len, | ||
u32 | sw_if_index, | ||
lcp_adj_key_t * | key | ||
) |
STATIC_ASSERT | ( | sizeof(lcp_adj_key_t) | = =32 , |
"LCP ADJ Key size changed" | |||
) |
STATIC_ASSERT | ( | sizeof(lcp_adj_kv_t) | = =sizeof(BVT(clib_bihash_kv)) , |
"LCP ADJ Key size changed" | |||
) |