FD.io VPP
v19.08.3-2-gbabecb413
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... | |
void | 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 150 of file session_table.c.
void ip4_session_table_walk_cb | ( | clib_bihash_kv_16_8_t * | kvp, |
void * | arg | ||
) |
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.