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

NAT66 CLI. More...

+ Include dependency graph for nat66_cli.c:

Go to the source code of this file.

Functions

static clib_error_tnat66_interface_feature_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static int nat66_cli_interface_walk (nat66_interface_t *i, void *ctx)
 
static clib_error_tnat66_show_interfaces_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat66_add_del_static_mapping_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static int nat66_cli_static_mapping_walk (nat66_static_mapping_t *sm, void *ctx)
 
static clib_error_tnat66_show_static_mappings_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t set_interface_nat66_command
 (constructor) VLIB_CLI_COMMAND (set_interface_nat66_command) More...
 
static vlib_cli_command_t show_nat66_interfaces_command
 (constructor) VLIB_CLI_COMMAND (show_nat66_interfaces_command) More...
 
static vlib_cli_command_t show_nat66_add_del_static_mapping_command
 (constructor) VLIB_CLI_COMMAND (show_nat66_add_del_static_mapping_command) More...
 
static vlib_cli_command_t show_nat66_static_mappings_command
 (constructor) VLIB_CLI_COMMAND (show_nat66_static_mappings_command) More...
 

Detailed Description

NAT66 CLI.

Definition in file nat66_cli.c.

Function Documentation

◆ nat66_add_del_static_mapping_command_fn()

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

Definition at line 160 of file nat66_cli.c.

+ Here is the call graph for this function:

◆ nat66_cli_interface_walk()

static int nat66_cli_interface_walk ( nat66_interface_t i,
void *  ctx 
)
static

Definition at line 138 of file nat66_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nat66_cli_static_mapping_walk()

static int nat66_cli_static_mapping_walk ( nat66_static_mapping_t sm,
void *  ctx 
)
static

Definition at line 214 of file nat66_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nat66_interface_feature_command_fn()

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

Definition at line 24 of file nat66_cli.c.

+ Here is the call graph for this function:

◆ nat66_show_interfaces_command_fn()

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

Definition at line 150 of file nat66_cli.c.

+ Here is the call graph for this function:

◆ nat66_show_static_mappings_command_fn()

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

Definition at line 237 of file nat66_cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ set_interface_nat66_command

vlib_cli_command_t set_interface_nat66_command
static
Initial value:
= {
.path = "set interface nat66",
.short_help = "set interface nat66 in|out <intfc> [del]",
}
static clib_error_t * nat66_interface_feature_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat66_cli.c:24

(constructor) VLIB_CLI_COMMAND (set_interface_nat66_command)

Definition at line 257 of file nat66_cli.c.

◆ show_nat66_add_del_static_mapping_command

vlib_cli_command_t show_nat66_add_del_static_mapping_command
static
Initial value:
= {
.path = "nat66 add static mapping",
.short_help = "nat66 add static mapping local <ip6-addr> external <ip6-addr>"
" [vfr <table-id>] [del]",
}
static clib_error_t * nat66_add_del_static_mapping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat66_cli.c:160

(constructor) VLIB_CLI_COMMAND (show_nat66_add_del_static_mapping_command)

Definition at line 289 of file nat66_cli.c.

◆ show_nat66_interfaces_command

vlib_cli_command_t show_nat66_interfaces_command
static
Initial value:
= {
.path = "show nat66 interfaces",
.short_help = "show nat66 interfaces",
}
static clib_error_t * nat66_show_interfaces_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat66_cli.c:150

(constructor) VLIB_CLI_COMMAND (show_nat66_interfaces_command)

Definition at line 274 of file nat66_cli.c.

◆ show_nat66_static_mappings_command

vlib_cli_command_t show_nat66_static_mappings_command
static
Initial value:
= {
.path = "show nat66 static mappings",
.short_help = "show nat66 static mappings",
}
static clib_error_t * nat66_show_static_mappings_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat66_cli.c:237

(constructor) VLIB_CLI_COMMAND (show_nat66_static_mappings_command)

Definition at line 307 of file nat66_cli.c.