FD.io VPP  v21.06-3-gbb25fbf28
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
 

Macros

#define DET44_EXPECTED_ARGUMENT   "expected required argument(s)"
 

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.

Macro Definition Documentation

◆ DET44_EXPECTED_ARGUMENT

#define DET44_EXPECTED_ARGUMENT   "expected required argument(s)"

Definition at line 21 of 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 258 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 204 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 423 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 24 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 371 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 310 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 478 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 72 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 355 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>",
}

(constructor) VLIB_CLI_COMMAND (det44_close_sesion_out_command)

Definition at line 586 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>",
}

(constructor) VLIB_CLI_COMMAND (det44_close_session_in_command)

Definition at line 601 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]",
}

(constructor) VLIB_CLI_COMMAND (det44_feature_command)

Definition at line 666 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>",
}

(constructor) VLIB_CLI_COMMAND (det44_forward_command)

Definition at line 540 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,
}

(constructor) VLIB_CLI_COMMAND (det44_map_command)

Definition at line 507 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>",
}

(constructor) VLIB_CLI_COMMAND (det44_plugin_enable_disable_command)

Definition at line 649 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>",
}

(constructor) VLIB_CLI_COMMAND (det44_reverse_command)

Definition at line 555 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>",
}

(constructor) VLIB_CLI_COMMAND (det44_set_timeouts_command)

Definition at line 617 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",
}

(constructor) VLIB_CLI_COMMAND (det44_show_interfaces_command)

Definition at line 683 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",
}

(constructor) VLIB_CLI_COMMAND (det44_show_mappings_command)

Definition at line 525 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",
}

(constructor) VLIB_CLI_COMMAND (det44_show_sessions_command)

Definition at line 572 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",
}

(constructor) VLIB_CLI_COMMAND (det44_show_timeouts_command)

Definition at line 636 of file det44_cli.c.

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)
Definition: det44_cli.c:135
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:24
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)
Definition: det44_cli.c:72
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)
Definition: det44_cli.c:258
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:478
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)
Definition: det44_cli.c:310
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:355
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)
Definition: det44_cli.c:182
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)
Definition: det44_cli.c:371
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)
Definition: det44_cli.c:423
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)
Definition: det44_cli.c:94
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)
Definition: det44_cli.c:204