Go to the source code of this file.
|
u8 * | format_session_fifos (u8 *s, va_list *args) |
|
u8 * | format_session (u8 *s, va_list *args) |
| Format stream session as per the following format. More...
|
|
uword | unformat_stream_session_id (unformat_input_t *input, va_list *args) |
|
uword | unformat_session (unformat_input_t *input, va_list *args) |
|
uword | unformat_transport_connection (unformat_input_t *input, va_list *args) |
|
static clib_error_t * | show_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static int | clear_session (session_t *s) |
|
static clib_error_t * | clear_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_session_fifo_trace_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | session_replay_fifo_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | session_enable_disable_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8* format_session |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Format stream session as per the following format.
verbose: "Connection", "Rx fifo", "Tx fifo", "Session Index" non-verbose: "Connection"
Definition at line 55 of file session_cli.c.
u8* format_session_fifos |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Initial value:=
{
.path = "clear session",
.short_help = "clear session thread <thread> session <index>",
}
static clib_error_t * clear_session_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (clear_session_command)
Definition at line 426 of file session_cli.c.
Initial value:=
{
.path = "session",
.short_help = "session [enable|disable]",
}
static clib_error_t * session_enable_disable_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (session_enable_disable_command)
Definition at line 562 of file session_cli.c.
Initial value:=
{
.path = "session replay fifo",
.short_help = "session replay fifo <session>",
}
static clib_error_t * session_replay_fifo_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (session_replay_fifo_trace_command)
Definition at line 523 of file session_cli.c.
Initial value:=
{
.path = "show session fifo trace",
.short_help = "show session fifo trace <session>",
}
static clib_error_t * show_session_fifo_trace_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_session_fifo_trace_command)
Definition at line 476 of file session_cli.c.
Initial value:=
{
.path = "show session",
.short_help = "show session [verbose [n]] [listeners <proto>] "
"[<session-id> [elog]]",
}
static clib_error_t * show_session_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (vlib_cli_show_session_command)
Definition at line 353 of file session_cli.c.