FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
cli.c File Reference
+ Include dependency graph for cli.c:

Go to the source code of this file.

Functions

static clib_error_tlb_vip_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlb_as_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlb_conf_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlb_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlb_show_vips_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t lb_vip_command
 (constructor) VLIB_CLI_COMMAND (lb_vip_command) More...
 
static vlib_cli_command_t lb_as_command
 (constructor) VLIB_CLI_COMMAND (lb_as_command) More...
 
static vlib_cli_command_t lb_conf_command
 (constructor) VLIB_CLI_COMMAND (lb_conf_command) More...
 
static vlib_cli_command_t lb_show_command
 (constructor) VLIB_CLI_COMMAND (lb_show_command) More...
 
static vlib_cli_command_t lb_show_vips_command
 (constructor) VLIB_CLI_COMMAND (lb_show_vips_command) More...
 

Function Documentation

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

Definition at line 100 of file cli.c.

+ Here is the call graph for this function:

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

Definition at line 174 of file cli.c.

+ Here is the call graph for this function:

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

Definition at line 232 of file cli.c.

+ Here is the call graph for this function:

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

Definition at line 248 of file cli.c.

+ Here is the call graph for this function:

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

Definition at line 20 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t lb_as_command
static
Initial value:
=
{
.path = "lb as",
.short_help = "lb as <vip-prefix> [<address> [<address> [...]]] [del]",
.function = lb_as_command_fn,
}
static clib_error_t * lb_as_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:100

(constructor) VLIB_CLI_COMMAND (lb_as_command)

Definition at line 166 of file cli.c.

vlib_cli_command_t lb_conf_command
static
Initial value:
=
{
.path = "lb conf",
.short_help = "lb conf [ip4-src-address <addr>] [ip6-src-address <addr>] [buckets <n>] [timeout <s>]",
.function = lb_conf_command_fn,
}
static clib_error_t * lb_conf_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:174

(constructor) VLIB_CLI_COMMAND (lb_conf_command)

Definition at line 224 of file cli.c.

vlib_cli_command_t lb_show_command
static
Initial value:
=
{
.path = "show lb",
.short_help = "show lb",
.function = lb_show_command_fn,
}
static clib_error_t * lb_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:232

(constructor) VLIB_CLI_COMMAND (lb_show_command)

Definition at line 240 of file cli.c.

vlib_cli_command_t lb_show_vips_command
static
Initial value:
=
{
.path = "show lb vips",
.short_help = "show lb vips [verbose]",
}
static clib_error_t * lb_show_vips_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:248

(constructor) VLIB_CLI_COMMAND (lb_show_vips_command)

Definition at line 270 of file cli.c.

vlib_cli_command_t lb_vip_command
static
Initial value:
=
{
.path = "lb vip",
.short_help = "lb vip <prefix> [encap (gre6|gre4)] [new_len <n>] [del]",
.function = lb_vip_command_fn,
}
static clib_error_t * lb_vip_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:20

(constructor) VLIB_CLI_COMMAND (lb_vip_command)

Definition at line 92 of file cli.c.