FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | foreach_hash_table_parameter |
Typedefs | |
typedef struct _ip4_session_table_walk_ctx_t | ip4_session_table_walk_ctx_t |
Functions | |
session_table_t * | session_table_alloc (void) |
u32 | session_table_index (session_table_t *slt) |
session_table_t * | session_table_get (u32 table_index) |
void | session_table_init (session_table_t *slt, u8 fib_proto) |
Initialize session table hash tables. More... | |
static int | ip4_session_table_walk_cb (clib_bihash_kv_16_8_t *kvp, void *arg) |
void | ip4_session_table_walk (clib_bihash_16_8_t *hash, ip4_session_table_walk_fn_t fn, void *arg) |
Variables | |
static session_table_t * | lookup_tables |
Pool of session tables. More... | |
#define foreach_hash_table_parameter |
Definition at line 53 of file session_table.c.
typedef struct _ip4_session_table_walk_ctx_t ip4_session_table_walk_ctx_t |
void ip4_session_table_walk | ( | clib_bihash_16_8_t * | hash, |
ip4_session_table_walk_fn_t | fn, | ||
void * | arg | ||
) |
Definition at line 152 of file session_table.c.
|
static |
session_table_t* session_table_alloc | ( | void | ) |
Definition at line 31 of file session_table.c.
session_table_t* session_table_get | ( | u32 | table_index | ) |
u32 session_table_index | ( | session_table_t * | slt | ) |
void session_table_init | ( | session_table_t * | slt, |
u8 | fib_proto | ||
) |
Initialize session table hash tables.
If vpp configured with set of table parameters it uses them, otherwise it uses defaults above.
Definition at line 70 of file session_table.c.
|
static |
Pool of session tables.
Definition at line 22 of file session_table.c.