Go to the source code of this file.
|
static clib_error_t * | memif_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | memif_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_memif_if_flags (u8 *s, va_list *args) |
|
static u8 * | format_memif_if_mode (u8 *s, va_list *args) |
|
static u8 * | format_memif_queue (u8 *s, va_list *args) |
|
static u8 * | format_memif_descriptor (u8 *s, va_list *args) |
|
static clib_error_t * | memif_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | memif_cli_init (vlib_main_t *vm) |
|
static u8* format_memif_descriptor |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_memif_if_flags |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_memif_if_mode |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_memif_queue |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Definition at line 30 of file cli.c.
Initial value:= {
.path = "create memif",
.short_help = "create memif [id <id>] [socket <path>] "
"[ring-size <size>] [buffer-size <size>] [hw-addr <mac-address>] "
"<master|slave> [rx-queues <number>] [tx-queues <number>] "
"[mode ip] [secret <string>]",
}
static clib_error_t * memif_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (memif_create_command)
Definition at line 108 of file cli.c.
Initial value:= {
.path = "delete memif",
.short_help = "delete memif {<interface> | sw_if_index <sw_idx>}",
}
static clib_error_t * memif_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (memif_delete_command)
Definition at line 161 of file cli.c.
Initial value:= {
.path = "show memif",
.short_help = "show memif {<interface>] [descriptors]",
}
static clib_error_t * memif_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (memif_show_command)
Definition at line 344 of file cli.c.