FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
session_cli.c File Reference
+ Include dependency graph for session_cli.c:

Go to the source code of this file.

Functions

u8format_stream_session_fifos (u8 *s, va_list *args)
 
u8format_stream_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_stream_session (unformat_input_t *input, va_list *args)
 
uword unformat_transport_connection (unformat_input_t *input, va_list *args)
 
static clib_error_tshow_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static int clear_session (stream_session_t *s)
 
static clib_error_tclear_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_session_fifo_trace_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsession_replay_fifo_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsession_enable_disable_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

vlib_cli_command_t vlib_cli_show_session_command
 (constructor) VLIB_CLI_COMMAND (vlib_cli_show_session_command) More...
 
static vlib_cli_command_t clear_session_command
 (constructor) VLIB_CLI_COMMAND (clear_session_command) More...
 
static vlib_cli_command_t show_session_fifo_trace_command
 (constructor) VLIB_CLI_COMMAND (show_session_fifo_trace_command) More...
 
static vlib_cli_command_t session_replay_fifo_trace_command
 (constructor) VLIB_CLI_COMMAND (session_replay_fifo_trace_command) More...
 
static vlib_cli_command_t session_enable_disable_command
 (constructor) VLIB_CLI_COMMAND (session_enable_disable_command) More...
 

Function Documentation

static int clear_session ( stream_session_t s)
static

Definition at line 315 of file session_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* clear_session_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 324 of file session_cli.c.

+ Here is the call graph for this function:

u8* format_stream_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 57 of file session_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_stream_session_fifos ( u8 s,
va_list *  args 
)

Definition at line 19 of file session_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* session_enable_disable_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 484 of file session_cli.c.

+ Here is the call graph for this function:

static clib_error_t* session_replay_fifo_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 437 of file session_cli.c.

+ Here is the call graph for this function:

static clib_error_t* show_session_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 206 of file session_cli.c.

+ Here is the call graph for this function:

static clib_error_t* show_session_fifo_trace_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 387 of file session_cli.c.

+ Here is the call graph for this function:

uword unformat_stream_session ( unformat_input_t input,
va_list *  args 
)

Definition at line 140 of file session_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword unformat_stream_session_id ( unformat_input_t input,
va_list *  args 
)

Definition at line 102 of file session_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword unformat_transport_connection ( unformat_input_t input,
va_list *  args 
)

Definition at line 171 of file session_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t clear_session_command
static
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)
Definition: session_cli.c:324

(constructor) VLIB_CLI_COMMAND (clear_session_command)

Definition at line 378 of file session_cli.c.

vlib_cli_command_t session_enable_disable_command
static
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)
Definition: session_cli.c:484

(constructor) VLIB_CLI_COMMAND (session_enable_disable_command)

Definition at line 514 of file session_cli.c.

vlib_cli_command_t session_replay_fifo_trace_command
static
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)
Definition: session_cli.c:437

(constructor) VLIB_CLI_COMMAND (session_replay_fifo_trace_command)

Definition at line 475 of file session_cli.c.

vlib_cli_command_t show_session_fifo_trace_command
static
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)
Definition: session_cli.c:387

(constructor) VLIB_CLI_COMMAND (show_session_fifo_trace_command)

Definition at line 428 of file session_cli.c.

vlib_cli_command_t vlib_cli_show_session_command
Initial value:
=
{
.path = "show session",
.short_help = "show session [verbose [nnn]]",
}
static clib_error_t * show_session_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: session_cli.c:206

(constructor) VLIB_CLI_COMMAND (vlib_cli_show_session_command)

Definition at line 306 of file session_cli.c.