FD.io VPP  v21.01.1
Vector Packet Processing
teib_cli.c File Reference
+ Include dependency graph for teib_cli.c:

Go to the source code of this file.

Functions

static clib_error_tteib_add (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tteib_del (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static walk_rc_t teib_show_one (index_t nei, void *ctx)
 
static clib_error_tteib_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t teib_create_command
 (constructor) VLIB_CLI_COMMAND (teib_create_command) More...
 
static vlib_cli_command_t teib_delete_command
 (constructor) VLIB_CLI_COMMAND (teib_delete_command) More...
 
static vlib_cli_command_t teib_show_command
 (constructor) VLIB_CLI_COMMAND (teib_show_command) More...
 

Function Documentation

◆ teib_add()

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

Definition at line 19 of file teib_cli.c.

+ Here is the call graph for this function:

◆ teib_del()

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

Definition at line 98 of file teib_cli.c.

+ Here is the call graph for this function:

◆ teib_show()

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

Definition at line 173 of file teib_cli.c.

+ Here is the call graph for this function:

◆ teib_show_one()

static walk_rc_t teib_show_one ( index_t  nei,
void *  ctx 
)
static

Definition at line 164 of file teib_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ teib_create_command

vlib_cli_command_t teib_create_command
static
Initial value:
= {
.path = "create teib",
.short_help = "create teib <interface> peer <addr> nh <addr> [nh-table-id <ID>]",
.function = teib_add,
}
static clib_error_t * teib_add(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: teib_cli.c:19

(constructor) VLIB_CLI_COMMAND (teib_create_command)

Definition at line 90 of file teib_cli.c.

◆ teib_delete_command

vlib_cli_command_t teib_delete_command
static
Initial value:
= {
.path = "delete teib",
.short_help = "delete teib <interface> peer <addr>",
.function = teib_del,
}
static clib_error_t * teib_del(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: teib_cli.c:98

(constructor) VLIB_CLI_COMMAND (teib_delete_command)

Definition at line 156 of file teib_cli.c.

◆ teib_show_command

vlib_cli_command_t teib_show_command
static
Initial value:
= {
.path = "show teib",
.short_help = "show teib",
.function = teib_show,
}
static clib_error_t * teib_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: teib_cli.c:173

(constructor) VLIB_CLI_COMMAND (teib_show_command)

Definition at line 181 of file teib_cli.c.