FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
igmp_cli.c File Reference
+ Include dependency graph for igmp_cli.c:

Go to the source code of this file.

Functions

static clib_error_tigmp_clear_interface_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tigmp_listen_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tigmp_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tigmp_show_timers_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_ttest_igmp_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tigmp_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t igmp_clear_interface_command
 (constructor) VLIB_CLI_COMMAND (igmp_clear_interface_command) More...
 
static vlib_cli_command_t igmp_listen_command
 (constructor) VLIB_CLI_COMMAND (igmp_listen_command) More...
 
static vlib_cli_command_t igmp_show_command
 (constructor) VLIB_CLI_COMMAND (igmp_show_command) More...
 
static vlib_cli_command_t igmp_show_timers_command
 (constructor) VLIB_CLI_COMMAND (igmp_show_timers_command) More...
 
static vlib_cli_command_t test_igmp_command
 (constructor) VLIB_CLI_COMMAND (test_igmp_command) More...
 

Function Documentation

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

Definition at line 32 of file igmp_cli.c.

+ Here is the call graph for this function:

clib_error_t* igmp_cli_init ( vlib_main_t vm)

Definition at line 252 of file igmp_cli.c.

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

Definition at line 81 of file igmp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 163 of file igmp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 202 of file igmp_cli.c.

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

Definition at line 221 of file igmp_cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t igmp_clear_interface_command
static
Initial value:
= {
.path = "clear igmp",
.short_help = "clear igmp int <interface>",
}
static clib_error_t * igmp_clear_interface_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: igmp_cli.c:32

(constructor) VLIB_CLI_COMMAND (igmp_clear_interface_command)

Definition at line 73 of file igmp_cli.c.

vlib_cli_command_t igmp_listen_command
static
Initial value:
= {
.path = "igmp listen",
.short_help = "igmp listen [<enable|disable>] "
"int <interface> saddr <ip4-address> gaddr <ip4-address>",
}
static clib_error_t * igmp_listen_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: igmp_cli.c:81

(constructor) VLIB_CLI_COMMAND (igmp_listen_command)

Definition at line 154 of file igmp_cli.c.

vlib_cli_command_t igmp_show_command
static
Initial value:
= {
.path = "show igmp config",
.short_help = "show igmp config",
.function = igmp_show_command_fn,
}
static clib_error_t * igmp_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: igmp_cli.c:163

(constructor) VLIB_CLI_COMMAND (igmp_show_command)

Definition at line 194 of file igmp_cli.c.

vlib_cli_command_t igmp_show_timers_command
static
Initial value:
= {
.path = "show igmp timers",
.short_help = "show igmp timers",
}
static clib_error_t * igmp_show_timers_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: igmp_cli.c:202

(constructor) VLIB_CLI_COMMAND (igmp_show_timers_command)

Definition at line 213 of file igmp_cli.c.

vlib_cli_command_t test_igmp_command
static
Initial value:
= {
.path = "test igmp timers",
.short_help = "Change the default values for IGMP timers - only sensible during unit tests",
.function = test_igmp_command_fn,
}
static clib_error_t * test_igmp_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: igmp_cli.c:221

(constructor) VLIB_CLI_COMMAND (test_igmp_command)

Definition at line 243 of file igmp_cli.c.