FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
nhrp_cli.c File Reference
+ Include dependency graph for nhrp_cli.c:

Go to the source code of this file.

Functions

static clib_error_tnhrp_add (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnhrp_del (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static walk_rc_t nhrp_show_one (index_t nei, void *ctx)
 
static clib_error_tnhrp_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t nhrp_create_command
 (constructor) VLIB_CLI_COMMAND (nhrp_create_command) More...
 
static vlib_cli_command_t nhrp_delete_command
 (constructor) VLIB_CLI_COMMAND (nhrp_delete_command) More...
 
static vlib_cli_command_t nhrp_show_command
 (constructor) VLIB_CLI_COMMAND (nhrp_show_command) More...
 

Function Documentation

◆ nhrp_add()

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

Definition at line 19 of file nhrp_cli.c.

+ Here is the call graph for this function:

◆ nhrp_del()

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

Definition at line 98 of file nhrp_cli.c.

+ Here is the call graph for this function:

◆ nhrp_show()

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

Definition at line 173 of file nhrp_cli.c.

+ Here is the call graph for this function:

◆ nhrp_show_one()

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

Definition at line 164 of file nhrp_cli.c.

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

Variable Documentation

◆ nhrp_create_command

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

(constructor) VLIB_CLI_COMMAND (nhrp_create_command)

Definition at line 90 of file nhrp_cli.c.

◆ nhrp_delete_command

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

(constructor) VLIB_CLI_COMMAND (nhrp_delete_command)

Definition at line 156 of file nhrp_cli.c.

◆ nhrp_show_command

vlib_cli_command_t nhrp_show_command
static
Initial value:
= {
.path = "show nhrp",
.short_help = "show nhrp",
.function = nhrp_show,
}
static clib_error_t * nhrp_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nhrp_cli.c:173

(constructor) VLIB_CLI_COMMAND (nhrp_show_command)

Definition at line 181 of file nhrp_cli.c.