FD.io VPP  v21.06-3-gbb25fbf28
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_tnetmap_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnetmap_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tnetmap_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t netmap_create_command
 (constructor) VLIB_CLI_COMMAND (netmap_create_command) More...
 
static vlib_cli_command_t netmap_delete_command
 (constructor) VLIB_CLI_COMMAND (netmap_delete_command) More...
 

Function Documentation

◆ netmap_cli_init()

clib_error_t* netmap_cli_init ( vlib_main_t vm)

Definition at line 223 of file cli.c.

◆ netmap_create_command_fn()

static clib_error_t* netmap_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:

◆ netmap_delete_command_fn()

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

Definition at line 161 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ netmap_create_command

vlib_cli_command_t netmap_create_command
static
Initial value:
= {
.path = "create netmap",
.short_help = "create netmap name <ifname>|valeXXX:YYY "
"[hw-addr <mac-addr>] [pipe] [master|slave]",
}

(constructor) VLIB_CLI_COMMAND (netmap_create_command)

Definition at line 152 of file cli.c.

◆ netmap_delete_command

vlib_cli_command_t netmap_delete_command
static
Initial value:
= {
.path = "delete netmap",
.short_help = "delete netmap name <ifname>|valeXXX:YYY",
}

(constructor) VLIB_CLI_COMMAND (netmap_delete_command)

Definition at line 215 of file cli.c.

netmap_create_command_fn
static clib_error_t * netmap_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:29
netmap_delete_command_fn
static clib_error_t * netmap_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:161