FD.io VPP  v16.06
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

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

Function Documentation

clib_error_t* netmap_cli_init ( vlib_main_t vm)

Definition at line 116 of file cli.c.

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 25 of file cli.c.

+ Here is the call graph for this function:

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 82 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t netmap_create_command
Initial value:
= {
.path = "create netmap",
.short_help = "create netmap name [<intf name>|valeXXX:YYY] "
"[hw-addr <mac>] [pipe] [master|slave]",
}
static clib_error_t * netmap_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:25

(constructor) VLIB_CLI_COMMAND (netmap_create_command)

Definition at line 74 of file cli.c.

vlib_cli_command_t netmap_delete_command
Initial value:
= {
.path = "delete netmap",
.short_help = "delete netmap name <interface name>",
}
static clib_error_t * netmap_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:82

(constructor) VLIB_CLI_COMMAND (netmap_delete_command)

Definition at line 109 of file cli.c.