FD.io VPP  v21.01.1
Vector Packet Processing
cli.c File Reference
+ Include dependency graph for cli.c:

Go to the source code of this file.

Functions

static clib_error_tshow_crypto_engines_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_vnet_crypto_engine_candidates (u8 *s, va_list *args)
 
static u8format_vnet_crypto_handlers (u8 *s, va_list *args)
 
static clib_error_tshow_crypto_handlers_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_crypto_handler_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_vnet_crypto_async_handlers (u8 *s, va_list *args)
 
static clib_error_tshow_crypto_async_handlers_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_crypto_async_status_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_crypto_async_handler_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static void print_crypto_async_dispatch_warning ()
 
static clib_error_tset_crypto_async_dispatch_polling_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_crypto_async_dispatch_interrupt_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t show_crypto_engines_command
 (constructor) VLIB_CLI_COMMAND (show_crypto_engines_command) More...
 
static vlib_cli_command_t show_crypto_handlers_command
 (constructor) VLIB_CLI_COMMAND (show_crypto_handlers_command) More...
 
static vlib_cli_command_t set_crypto_handler_command
 (constructor) VLIB_CLI_COMMAND (set_crypto_handler_command) More...
 
static vlib_cli_command_t show_crypto_async_handlers_command
 (constructor) VLIB_CLI_COMMAND (show_crypto_async_handlers_command) More...
 
static vlib_cli_command_t show_crypto_async_status_command
 (constructor) VLIB_CLI_COMMAND (show_crypto_async_status_command) More...
 
static vlib_cli_command_t set_crypto_async_handler_command
 (constructor) VLIB_CLI_COMMAND (set_crypto_async_handler_command) More...
 
static vlib_cli_command_t set_crypto_async_dispatch_polling_command
 (constructor) VLIB_CLI_COMMAND (set_crypto_async_dispatch_polling_command) More...
 
static vlib_cli_command_t set_crypto_async_dispatch_interrupt_command
 (constructor) VLIB_CLI_COMMAND (set_crypto_async_dispatch_interrupt_command) More...
 

Function Documentation

◆ format_vnet_crypto_async_handlers()

static u8* format_vnet_crypto_async_handlers ( u8 s,
va_list *  args 
)
static

Definition at line 255 of file cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_vnet_crypto_engine_candidates()

static u8* format_vnet_crypto_engine_candidates ( u8 s,
va_list *  args 
)
static

Definition at line 57 of file cli.c.

+ Here is the caller graph for this function:

◆ format_vnet_crypto_handlers()

static u8* format_vnet_crypto_handlers ( u8 s,
va_list *  args 
)
static

Definition at line 103 of file cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ print_crypto_async_dispatch_warning()

static void print_crypto_async_dispatch_warning ( )
inlinestatic

Definition at line 439 of file cli.c.

+ Here is the caller graph for this function:

◆ set_crypto_async_dispatch_interrupt_command_fn()

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

Definition at line 458 of file cli.c.

+ Here is the call graph for this function:

◆ set_crypto_async_dispatch_polling_command_fn()

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

Definition at line 448 of file cli.c.

+ Here is the call graph for this function:

◆ set_crypto_async_handler_command_fn()

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

Definition at line 356 of file cli.c.

+ Here is the call graph for this function:

◆ set_crypto_handler_command_fn()

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

Definition at line 164 of file cli.c.

+ Here is the call graph for this function:

◆ show_crypto_async_handlers_command_fn()

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

Definition at line 284 of file cli.c.

+ Here is the call graph for this function:

◆ show_crypto_async_status_command_fn()

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

Definition at line 314 of file cli.c.

+ Here is the call graph for this function:

◆ show_crypto_engines_command_fn()

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

Definition at line 21 of file cli.c.

+ Here is the call graph for this function:

◆ show_crypto_handlers_command_fn()

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

Definition at line 135 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ set_crypto_async_dispatch_interrupt_command

vlib_cli_command_t set_crypto_async_dispatch_interrupt_command
static
Initial value:
=
{
.path = "set crypto async dispatch interrupt",
.short_help = "set crypto async dispatch polling|interrupt",
}
static clib_error_t * set_crypto_async_dispatch_interrupt_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:458

(constructor) VLIB_CLI_COMMAND (set_crypto_async_dispatch_interrupt_command)

Definition at line 474 of file cli.c.

◆ set_crypto_async_dispatch_polling_command

vlib_cli_command_t set_crypto_async_dispatch_polling_command
static
Initial value:
=
{
.path = "set crypto async dispatch polling",
.short_help = "set crypto async dispatch polling|interrupt",
}
static clib_error_t * set_crypto_async_dispatch_polling_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:448

(constructor) VLIB_CLI_COMMAND (set_crypto_async_dispatch_polling_command)

Definition at line 468 of file cli.c.

◆ set_crypto_async_handler_command

vlib_cli_command_t set_crypto_async_handler_command
static
Initial value:
=
{
.path = "set crypto async handler",
.short_help = "set crypto async handler type [type2 type3 ...] engine",
}
static clib_error_t * set_crypto_async_handler_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:356

(constructor) VLIB_CLI_COMMAND (set_crypto_async_handler_command)

Definition at line 430 of file cli.c.

◆ set_crypto_handler_command

vlib_cli_command_t set_crypto_handler_command
static
Initial value:
=
{
.path = "set crypto handler",
.short_help = "set crypto handler cipher [cipher2 cipher3 ...] engine"
" [simple|chained]",
}
static clib_error_t * set_crypto_handler_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:164

(constructor) VLIB_CLI_COMMAND (set_crypto_handler_command)

Definition at line 245 of file cli.c.

◆ show_crypto_async_handlers_command

vlib_cli_command_t show_crypto_async_handlers_command
static
Initial value:
=
{
.path = "show crypto async handlers",
.short_help = "show crypto async handlers",
}
static clib_error_t * show_crypto_async_handlers_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:284

(constructor) VLIB_CLI_COMMAND (show_crypto_async_handlers_command)

Definition at line 304 of file cli.c.

◆ show_crypto_async_status_command

vlib_cli_command_t show_crypto_async_status_command
static
Initial value:
=
{
.path = "show crypto async status",
.short_help = "show crypto async status",
}
static clib_error_t * show_crypto_async_status_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:314

(constructor) VLIB_CLI_COMMAND (show_crypto_async_status_command)

Definition at line 347 of file cli.c.

◆ show_crypto_engines_command

vlib_cli_command_t show_crypto_engines_command
static
Initial value:
=
{
.path = "show crypto engines",
.short_help = "show crypto engines",
}
static clib_error_t * show_crypto_engines_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:21

(constructor) VLIB_CLI_COMMAND (show_crypto_engines_command)

Definition at line 49 of file cli.c.

◆ show_crypto_handlers_command

vlib_cli_command_t show_crypto_handlers_command
static
Initial value:
=
{
.path = "show crypto handlers",
.short_help = "show crypto handlers",
}
static clib_error_t * show_crypto_handlers_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:135

(constructor) VLIB_CLI_COMMAND (show_crypto_handlers_command)

Definition at line 155 of file cli.c.