FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
det44_cli.c File Reference

DET44 CLI. More...

+ Include dependency graph for det44_cli.c:

Go to the source code of this file.

Data Structures

struct  sw_if_indices_t
 

Functions

static clib_error_tdet44_map_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_show_mappings_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_forward_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_reverse_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_show_sessions_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_close_session_out_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_close_session_in_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_set_timeouts_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_show_timeouts_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_plugin_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_feature_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdet44_show_interfaces_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t det44_map_command
 (constructor) VLIB_CLI_COMMAND (det44_map_command) More...
 
static vlib_cli_command_t det44_show_mappings_command
 (constructor) VLIB_CLI_COMMAND (det44_show_mappings_command) More...
 
static vlib_cli_command_t det44_forward_command
 (constructor) VLIB_CLI_COMMAND (det44_forward_command) More...
 
static vlib_cli_command_t det44_reverse_command
 (constructor) VLIB_CLI_COMMAND (det44_reverse_command) More...
 
static vlib_cli_command_t det44_show_sessions_command
 (constructor) VLIB_CLI_COMMAND (det44_show_sessions_command) More...
 
static vlib_cli_command_t det44_close_sesion_out_command
 (constructor) VLIB_CLI_COMMAND (det44_close_sesion_out_command) More...
 
static vlib_cli_command_t det44_close_session_in_command
 (constructor) VLIB_CLI_COMMAND (det44_close_session_in_command) More...
 
static vlib_cli_command_t det44_set_timeouts_command
 (constructor) VLIB_CLI_COMMAND (det44_set_timeouts_command) More...
 
static vlib_cli_command_t det44_show_timeouts_command
 (constructor) VLIB_CLI_COMMAND (det44_show_timeouts_command) More...
 
static vlib_cli_command_t det44_plugin_enable_disable_command
 (constructor) VLIB_CLI_COMMAND (det44_plugin_enable_disable_command) More...
 
static vlib_cli_command_t det44_feature_command
 (constructor) VLIB_CLI_COMMAND (det44_feature_command) More...
 
static vlib_cli_command_t det44_show_interfaces_command
 (constructor) VLIB_CLI_COMMAND (det44_show_interfaces_command) More...
 

Detailed Description

DET44 CLI.

Definition in file det44_cli.c.

Function Documentation

◆ det44_close_session_in_fn()

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

Definition at line 260 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_close_session_out_fn()

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

Definition at line 206 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_feature_command_fn()

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

Definition at line 425 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_forward_command_fn()

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

Definition at line 94 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_map_command_fn()

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

Definition at line 22 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_plugin_enable_disable_command_fn()

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

Definition at line 373 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_reverse_command_fn()

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

Definition at line 135 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_set_timeouts_command_fn()

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

Definition at line 312 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_show_interfaces_command_fn()

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

Definition at line 482 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_show_mappings_command_fn()

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

Definition at line 70 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_show_sessions_command_fn()

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

Definition at line 182 of file det44_cli.c.

+ Here is the call graph for this function:

◆ det44_show_timeouts_command_fn()

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

Definition at line 357 of file det44_cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ det44_close_sesion_out_command

vlib_cli_command_t det44_close_sesion_out_command
static
Initial value:
= {
.path = "det44 close session out",
.short_help = "det44 close session out "
"<out_addr>:<out_port> <ext_addr>:<ext_port>",
}
static clib_error_t * det44_close_session_out_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:206

(constructor) VLIB_CLI_COMMAND (det44_close_sesion_out_command)

Definition at line 593 of file det44_cli.c.

◆ det44_close_session_in_command

vlib_cli_command_t det44_close_session_in_command
static
Initial value:
= {
.path = "det44 close session in",
.short_help = "det44 close session in "
"<in_addr>:<in_port> <ext_addr>:<ext_port>",
}
static clib_error_t * det44_close_session_in_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:260

(constructor) VLIB_CLI_COMMAND (det44_close_session_in_command)

Definition at line 608 of file det44_cli.c.

◆ det44_feature_command

vlib_cli_command_t det44_feature_command
static
Initial value:
=
{
.path = "set interface det44",.short_help =
"set interface det44 inside <intfc> outside <intfc> [del]",.function =
static clib_error_t * det44_feature_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:425

(constructor) VLIB_CLI_COMMAND (det44_feature_command)

Definition at line 670 of file det44_cli.c.

◆ det44_forward_command

vlib_cli_command_t det44_forward_command
static
Initial value:
= {
.path = "det44 forward",
.short_help = "det44 forward <addr>",
}
static clib_error_t * det44_forward_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:94

(constructor) VLIB_CLI_COMMAND (det44_forward_command)

Definition at line 547 of file det44_cli.c.

◆ det44_map_command

vlib_cli_command_t det44_map_command
static
Initial value:
= {
.path = "det44 add",
.short_help = "det44 add in <addr>/<plen> out <addr>/<plen> [del]",
.function = det44_map_command_fn,
}
static clib_error_t * det44_map_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:22

(constructor) VLIB_CLI_COMMAND (det44_map_command)

Definition at line 514 of file det44_cli.c.

◆ det44_plugin_enable_disable_command

vlib_cli_command_t det44_plugin_enable_disable_command
static
Initial value:
=
{
.path = "det44 plugin",.short_help =
"det44 plugin <enable [inside vrf] [outside vrf]|disable>",.function =
static clib_error_t * det44_plugin_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:373

(constructor) VLIB_CLI_COMMAND (det44_plugin_enable_disable_command)

Definition at line 654 of file det44_cli.c.

◆ det44_reverse_command

vlib_cli_command_t det44_reverse_command
static
Initial value:
= {
.path = "det44 reverse",
.short_help = "det44 reverse <addr>:<port>",
}
static clib_error_t * det44_reverse_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:135

(constructor) VLIB_CLI_COMMAND (det44_reverse_command)

Definition at line 562 of file det44_cli.c.

◆ det44_set_timeouts_command

vlib_cli_command_t det44_set_timeouts_command
static
Initial value:
=
{
.path = "set det44 timeouts",.short_help =
"set det44 timeouts <[udp <sec>] [tcp established <sec>] "
"[tcp transitory <sec>] [icmp <sec>]|reset>",.function =
static clib_error_t * det44_set_timeouts_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:312

(constructor) VLIB_CLI_COMMAND (det44_set_timeouts_command)

Definition at line 625 of file det44_cli.c.

◆ det44_show_interfaces_command

vlib_cli_command_t det44_show_interfaces_command
static
Initial value:
=
{
.path = "show det44 interfaces",.short_help =
"show det44 interfaces",.function = det44_show_interfaces_command_fn,}
static clib_error_t * det44_show_interfaces_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:482

(constructor) VLIB_CLI_COMMAND (det44_show_interfaces_command)

Definition at line 686 of file det44_cli.c.

◆ det44_show_mappings_command

vlib_cli_command_t det44_show_mappings_command
static
Initial value:
= {
.path = "show det44 mappings",
.short_help = "show det44 mappings",
}
static clib_error_t * det44_show_mappings_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:70

(constructor) VLIB_CLI_COMMAND (det44_show_mappings_command)

Definition at line 532 of file det44_cli.c.

◆ det44_show_sessions_command

vlib_cli_command_t det44_show_sessions_command
static
Initial value:
= {
.path = "show det44 sessions",
.short_help = "show det44 sessions",
}
static clib_error_t * det44_show_sessions_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:182

(constructor) VLIB_CLI_COMMAND (det44_show_sessions_command)

Definition at line 579 of file det44_cli.c.

◆ det44_show_timeouts_command

vlib_cli_command_t det44_show_timeouts_command
static
Initial value:
=
{
.path = "show det44 timeouts",.short_help =
"show det44 timeouts",.function = det44_show_timeouts_command_fn,}
static clib_error_t * det44_show_timeouts_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: det44_cli.c:357

(constructor) VLIB_CLI_COMMAND (det44_show_timeouts_command)

Definition at line 643 of file det44_cli.c.