FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
cli.c File Reference
+ Include dependency graph for cli.c:

Go to the source code of this file.

Functions

int lacp_dump_ifs (lacp_interface_details_t **out_lacpifs)
 
static void show_lacp (vlib_main_t *vm, u32 *sw_if_indices)
 
static void show_lacp_details (vlib_main_t *vm, u32 *sw_if_indices)
 
static clib_error_tshow_lacp_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdebug_lacp_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tlacp_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t show_lacp_command
 (constructor) VLIB_CLI_COMMAND (show_lacp_command) More...
 
static vlib_cli_command_t debug_lacp_command
 (constructor) VLIB_CLI_COMMAND (debug_lacp_command) More...
 

Function Documentation

◆ debug_lacp_command_fn()

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

Definition at line 296 of file cli.c.

+ Here is the call graph for this function:

◆ lacp_cli_init()

clib_error_t* lacp_cli_init ( vlib_main_t vm)

Definition at line 369 of file cli.c.

+ Here is the call graph for this function:

◆ lacp_dump_ifs()

int lacp_dump_ifs ( lacp_interface_details_t **  out_lacpifs)

Definition at line 21 of file cli.c.

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

◆ show_lacp()

static void show_lacp ( vlib_main_t vm,
u32 sw_if_indices 
)
static

Definition at line 72 of file cli.c.

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

◆ show_lacp_details()

static void show_lacp_details ( vlib_main_t vm,
u32 sw_if_indices 
)
static

Definition at line 144 of file cli.c.

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

◆ show_lacp_fn()

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

Definition at line 237 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ debug_lacp_command

vlib_cli_command_t debug_lacp_command
static
Initial value:
= {
.path = "debug lacp",
.short_help = "debug lacp <interface> <on | off>",
.function = debug_lacp_command_fn,
}
static clib_error_t * debug_lacp_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:296

(constructor) VLIB_CLI_COMMAND (debug_lacp_command)

Definition at line 361 of file cli.c.

◆ show_lacp_command

vlib_cli_command_t show_lacp_command
static
Initial value:
= {
.path = "show lacp",
.short_help = "show lacp [<interface>] [details]",
.function = show_lacp_fn,
}
static clib_error_t * show_lacp_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:237

(constructor) VLIB_CLI_COMMAND (show_lacp_command)

Definition at line 288 of file cli.c.