FD.io VPP  v19.08.1-401-g8e4ed521a
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_proxy_device_add_del_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tigmp_proxy_device_add_del_interface_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_enable_command
 (constructor) VLIB_CLI_COMMAND (igmp_enable_command) More...
 
static vlib_cli_command_t igmp_proxy_device_add_del_command
 (constructor) VLIB_CLI_COMMAND (igmp_proxy_device_add_del_command) More...
 
static vlib_cli_command_t igmp_proxy_device_add_del_interface_command
 (constructor) VLIB_CLI_COMMAND (igmp_proxy_device_add_del_interface_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

◆ igmp_clear_interface_command_fn()

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:

◆ igmp_cli_init()

clib_error_t* igmp_cli_init ( vlib_main_t vm)

Definition at line 427 of file igmp_cli.c.

◆ igmp_enable_cli()

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:

◆ igmp_listen_command_fn()

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:

◆ igmp_proxy_device_add_del_command_fn()

static clib_error_t* igmp_proxy_device_add_del_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:

◆ igmp_proxy_device_add_del_interface_command_fn()

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

Definition at line 287 of file igmp_cli.c.

+ Here is the call graph for this 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 
)
static

Definition at line 351 of file igmp_cli.c.

◆ igmp_show_timers_command_fn()

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 377 of file igmp_cli.c.

◆ 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 
)
static

Definition at line 396 of file igmp_cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ igmp_clear_interface_command

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.

◆ igmp_enable_command

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.

◆ igmp_listen_command

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.

◆ igmp_proxy_device_add_del_command

vlib_cli_command_t igmp_proxy_device_add_del_command
static
Initial value:
= {
.path = "igmp proxy-dev",
.short_help = "igmp proxy-dev <add|del> vrf-id <table-id> <interface>",
}
static clib_error_t * igmp_proxy_device_add_del_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_proxy_device_add_del_command)

Definition at line 279 of file igmp_cli.c.

◆ igmp_proxy_device_add_del_interface_command

vlib_cli_command_t igmp_proxy_device_add_del_interface_command
static
Initial value:
= {
.path = "igmp proxy-dev itf",
.short_help = "igmp proxy-dev itf <add|del> vrf-id <table-id> <interface>",
}
static clib_error_t * igmp_proxy_device_add_del_interface_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: igmp_cli.c:287

(constructor) VLIB_CLI_COMMAND (igmp_proxy_device_add_del_interface_command)

Definition at line 343 of file igmp_cli.c.

◆ igmp_show_command

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:351

(constructor) VLIB_CLI_COMMAND (igmp_show_command)

Definition at line 369 of file igmp_cli.c.

◆ igmp_show_timers_command

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:377

(constructor) VLIB_CLI_COMMAND (igmp_show_timers_command)

Definition at line 388 of file igmp_cli.c.

◆ test_igmp_command

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:396

(constructor) VLIB_CLI_COMMAND (test_igmp_command)

Definition at line 418 of file igmp_cli.c.