Go to the source code of this file.
|
static int | cnat_session_walk_cb (BVT(clib_bihash_kv) *kv, void *arg) |
|
void | cnat_session_walk (cnat_session_walk_cb_t cb, void *ctx) |
| Walk/visit each of the cnat session. More...
|
|
static int | cnat_session_purge_walk (BVT(clib_bihash_kv) *key, void *arg) |
|
u8 * | format_cnat_session (u8 *s, va_list *args) |
|
static clib_error_t * | cnat_session_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | cnat_session_free (cnat_session_t *session) |
| Free a session & update refcounts. More...
|
|
int | cnat_session_purge (void) |
| Purge all the sessions. More...
|
|
u64 | cnat_session_scan (vlib_main_t *vm, f64 start_time, int i) |
| Scan the session DB for expired sessions. More...
|
|
static clib_error_t * | cnat_session_init (vlib_main_t *vm) |
|
static clib_error_t * | cnat_timestamp_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ cnat_session_purge_walk_ctx_t
◆ cnat_session_walk_ctx_t
◆ cnat_session_free()
◆ cnat_session_init()
◆ cnat_session_purge()
int cnat_session_purge |
( |
void |
| ) |
|
◆ cnat_session_purge_walk()
static int cnat_session_purge_walk |
( |
BVT(clib_bihash_kv) * |
key, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ cnat_session_scan()
Scan the session DB for expired sessions.
Definition at line 159 of file cnat_session.c.
◆ cnat_session_show()
◆ cnat_session_walk()
Walk/visit each of the cnat session.
Definition at line 45 of file cnat_session.c.
◆ cnat_session_walk_cb()
static int cnat_session_walk_cb |
( |
BVT(clib_bihash_kv) * |
kv, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ cnat_timestamp_show()
◆ format_cnat_session()
u8* format_cnat_session |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ cnat_free_port_cb
◆ cnat_session_db
clib_bihash_40_48_t cnat_session_db |
◆ cnat_session_show_cmd_node
Initial value:= {
.path = "show cnat session",
.short_help = "show cnat session",
.is_mp_safe = 1,
}
static clib_error_t * cnat_session_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cnat_session_show_cmd_node)
Definition at line 118 of file cnat_session.c.
◆ cnat_timestamp_show_cmd
Initial value:= {
.path = "show cnat timestamp",
.short_help = "show cnat timestamp",
.is_mp_safe = 1,
}
static clib_error_t * cnat_timestamp_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cnat_timestamp_show_cmd)
Definition at line 257 of file cnat_session.c.