FD.io VPP  v17.04-9-g99c0734
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_tmemif_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tmemif_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tmemif_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tmemif_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t memif_create_command
 (constructor) VLIB_CLI_COMMAND (memif_create_command) More...
 
static vlib_cli_command_t memif_delete_command
 (constructor) VLIB_CLI_COMMAND (memif_delete_command) More...
 
static vlib_cli_command_t memif_show_command
 (constructor) VLIB_CLI_COMMAND (memif_show_command) More...
 

Function Documentation

clib_error_t* memif_cli_init ( vlib_main_t vm)

Definition at line 189 of file cli.c.

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

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

Definition at line 96 of file cli.c.

+ Here is the call graph for this function:

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

Definition at line 134 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t memif_create_command
static
Initial value:
= {
.path = "create memif",
.short_help = "create memif [key <key>] [socket <path>] "
"[ring-size <size>] [buffer-size <size>] [hw-addr <mac-address>] "
"<master|slave>",
}
static clib_error_t * memif_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:29

(constructor) VLIB_CLI_COMMAND (memif_create_command)

Definition at line 86 of file cli.c.

vlib_cli_command_t memif_delete_command
static
Initial value:
= {
.path = "delete memif",
.short_help = "delete memif key <key-value>",
}
static clib_error_t * memif_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:96

(constructor) VLIB_CLI_COMMAND (memif_delete_command)

Definition at line 126 of file cli.c.

vlib_cli_command_t memif_show_command
static
Initial value:
= {
.path = "show memif",
.short_help = "show memif",
.function = memif_show_command_fn,
}
static clib_error_t * memif_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:134

(constructor) VLIB_CLI_COMMAND (memif_show_command)

Definition at line 181 of file cli.c.