FD.io VPP  v18.10-34-gcce845e
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_enable_cli (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_enable_command
 (constructor) VLIB_CLI_COMMAND (igmp_enable_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 313 of file igmp_cli.c.

static clib_error_t* igmp_enable_cli ( 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_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 223 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 263 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 282 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_enable_command
static
Initial value:
= {
.path = "igmp",
.short_help = "igmp <enable|disable> <host|router> <interface>",
.function = igmp_enable_cli,
}
static clib_error_t * igmp_enable_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: igmp_cli.c:163

(constructor) VLIB_CLI_COMMAND (igmp_enable_command)

Definition at line 215 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:223

(constructor) VLIB_CLI_COMMAND (igmp_show_command)

Definition at line 255 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:263

(constructor) VLIB_CLI_COMMAND (igmp_show_timers_command)

Definition at line 274 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:282

(constructor) VLIB_CLI_COMMAND (test_igmp_command)

Definition at line 304 of file igmp_cli.c.