struct vlib_main_t vlib_main_t
FD.io VPP
v19.04-6-g6f05f72
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vlib_cli_parse_position_t |
struct | vlib_cli_sub_command_t |
struct | vlib_cli_sub_rule_t |
struct | vlib_cli_parse_rule_t |
struct | vlib_cli_command_t |
struct | vlib_cli_main_t |
Macros | |
#define | VLIB_CLI_COMMAND(x, ...) |
#define | VLIB_CLI_PARSE_RULE(x) vlib_cli_parse_rule_t x |
Typedefs | |
typedef clib_error_t *( | vlib_cli_command_function_t) (struct vlib_main_t *vm, unformat_input_t *input, struct vlib_cli_command_t *cmd) |
typedef struct vlib_cli_command_t | vlib_cli_command_t |
typedef void( | vlib_cli_output_function_t) (uword arg, u8 *buffer, uword buffer_bytes) |
Functions | |
void | vlib_cli_output (struct vlib_main_t *vm, char *fmt,...) |
void | vlib_cli_input (struct vlib_main_t *vm, unformat_input_t *input, vlib_cli_output_function_t *function, uword function_arg) |
clib_error_t * | vlib_cli_register (struct vlib_main_t *vm, vlib_cli_command_t *c) |
clib_error_t * | vlib_cli_register_parse_rule (struct vlib_main_t *vm, vlib_cli_parse_rule_t *c) |
uword | unformat_vlib_cli_sub_input (unformat_input_t *i, va_list *args) |
u8 ** | vlib_cli_get_possible_completions (u8 *input_str) |
#define VLIB_CLI_COMMAND | ( | x, | |
... | |||
) |
#define VLIB_CLI_PARSE_RULE | ( | x | ) | vlib_cli_parse_rule_t x |
typedef clib_error_t*( vlib_cli_command_function_t) (struct vlib_main_t *vm, unformat_input_t *input, struct vlib_cli_command_t *cmd) |
typedef struct vlib_cli_command_t vlib_cli_command_t |
uword unformat_vlib_cli_sub_input | ( | unformat_input_t * | i, |
va_list * | args | ||
) |
void vlib_cli_input | ( | struct vlib_main_t * | vm, |
unformat_input_t * | input, | ||
vlib_cli_output_function_t * | function, | ||
uword | function_arg | ||
) |
void vlib_cli_output | ( | struct vlib_main_t * | vm, |
char * | fmt, | ||
... | |||
) |
clib_error_t* vlib_cli_register | ( | struct vlib_main_t * | vm, |
vlib_cli_command_t * | c | ||
) |
clib_error_t* vlib_cli_register_parse_rule | ( | struct vlib_main_t * | vm, |
vlib_cli_parse_rule_t * | c | ||
) |