FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
lcp_cli.c File Reference
+ Include dependency graph for lcp_cli.c:

Go to the source code of this file.

Functions

static clib_error_tlcp_itf_pair_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlcp_default_netns_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlcp_itf_pair_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlcp_itf_pair_show_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tlcp_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t lcp_itf_pair_create_command
 (constructor) VLIB_CLI_COMMAND (lcp_itf_pair_create_command) More...
 
static vlib_cli_command_t lcp_default_netns_command
 (constructor) VLIB_CLI_COMMAND (lcp_default_netns_command) More...
 
static vlib_cli_command_t lcp_itf_pair_delete_command
 (constructor) VLIB_CLI_COMMAND (lcp_itf_pair_delete_command) More...
 
static vlib_cli_command_t lcp_itf_pair_show_cmd_node
 (constructor) VLIB_CLI_COMMAND (lcp_itf_pair_show_cmd_node) More...
 

Function Documentation

◆ lcp_cli_init()

clib_error_t* lcp_cli_init ( vlib_main_t vm)

Definition at line 229 of file lcp_cli.c.

◆ lcp_default_netns_command_fn()

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

Definition at line 115 of file lcp_cli.c.

+ Here is the call graph for this function:

◆ lcp_itf_pair_create_command_fn()

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

Definition at line 32 of file lcp_cli.c.

+ Here is the call graph for this function:

◆ lcp_itf_pair_delete_command_fn()

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

Definition at line 154 of file lcp_cli.c.

+ Here is the call graph for this function:

◆ lcp_itf_pair_show_cmd()

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

Definition at line 198 of file lcp_cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ lcp_default_netns_command

vlib_cli_command_t lcp_default_netns_command
static
Initial value:
= {
.path = "lcp default",
.short_help = "lcp default netns [<namespace>]",
}

(constructor) VLIB_CLI_COMMAND (lcp_default_netns_command)

Definition at line 147 of file lcp_cli.c.

◆ lcp_itf_pair_create_command

vlib_cli_command_t lcp_itf_pair_create_command
static
Initial value:
= {
.path = "lcp create",
.short_help = "lcp create <sw_if_index>|<if-name> host-if <host-if-name> "
"netns <namespace> [tun]",
}

(constructor) VLIB_CLI_COMMAND (lcp_itf_pair_create_command)

Definition at line 107 of file lcp_cli.c.

◆ lcp_itf_pair_delete_command

vlib_cli_command_t lcp_itf_pair_delete_command
static
Initial value:
= {
.path = "lcp delete",
.short_help = "lcp delete <sw_if_index>|<if-name>",
}

(constructor) VLIB_CLI_COMMAND (lcp_itf_pair_delete_command)

Definition at line 191 of file lcp_cli.c.

◆ lcp_itf_pair_show_cmd_node

vlib_cli_command_t lcp_itf_pair_show_cmd_node
static
Initial value:
= {
.path = "show lcp",
.function = lcp_itf_pair_show_cmd,
.short_help = "show lcp [phy <interface>]",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (lcp_itf_pair_show_cmd_node)

Definition at line 221 of file lcp_cli.c.

lcp_default_netns_command_fn
static clib_error_t * lcp_default_netns_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lcp_cli.c:115
lcp_itf_pair_delete_command_fn
static clib_error_t * lcp_itf_pair_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lcp_cli.c:154
lcp_itf_pair_create_command_fn
static clib_error_t * lcp_itf_pair_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lcp_cli.c:32
lcp_itf_pair_show_cmd
static clib_error_t * lcp_itf_pair_show_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lcp_cli.c:198