FD.io VPP  v20.01-48-g3e0dafb74
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_tmrvl_pp2_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tmrvl_pp2_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tmrvl_pp2_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t mrvl_pp2_create_command
 (constructor) VLIB_CLI_COMMAND (mrvl_pp2_create_command) More...
 
static vlib_cli_command_t mrvl_pp2_delete_command
 (constructor) VLIB_CLI_COMMAND (mrvl_pp2_delete_command) More...
 

Function Documentation

◆ mrvl_pp2_cli_init()

clib_error_t* mrvl_pp2_cli_init ( vlib_main_t vm)

Definition at line 118 of file cli.c.

+ Here is the call graph for this function:

◆ mrvl_pp2_create_command_fn()

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

Definition at line 29 of file cli.c.

+ Here is the call graph for this function:

◆ mrvl_pp2_delete_command_fn()

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

Definition at line 66 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ mrvl_pp2_create_command

vlib_cli_command_t mrvl_pp2_create_command
static
Initial value:
= {
.path = "create interface marvell pp2",
.short_help = "create interface marvell pp2 [name <ifname>]",
}
static clib_error_t * mrvl_pp2_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:29

(constructor) VLIB_CLI_COMMAND (mrvl_pp2_create_command)

Definition at line 58 of file cli.c.

◆ mrvl_pp2_delete_command

vlib_cli_command_t mrvl_pp2_delete_command
static
Initial value:
= {
.path = "delete interface marvell pp2",
.short_help = "delete interface marvell pp2 "
"{<interface> | sw_if_index <sw_idx>}",
}
static clib_error_t * mrvl_pp2_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:66

(constructor) VLIB_CLI_COMMAND (mrvl_pp2_delete_command)

Definition at line 109 of file cli.c.