FD.io VPP  v18.10-34-gcce845e
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 (snat_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

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 161 of file nat66_cli.c.

+ Here is the call graph for this function:

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

Definition at line 139 of file nat66_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 215 of file nat66_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 25 of file nat66_cli.c.

+ Here is the call graph for this function:

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 151 of file nat66_cli.c.

+ Here is the call graph for this function:

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 238 of file nat66_cli.c.

+ Here is the call graph for this function:

Variable Documentation

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

(constructor) VLIB_CLI_COMMAND (set_interface_nat66_command)

Definition at line 258 of file nat66_cli.c.

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

(constructor) VLIB_CLI_COMMAND (show_nat66_add_del_static_mapping_command)

Definition at line 290 of file nat66_cli.c.

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

(constructor) VLIB_CLI_COMMAND (show_nat66_interfaces_command)

Definition at line 275 of file nat66_cli.c.

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

(constructor) VLIB_CLI_COMMAND (show_nat66_static_mappings_command)

Definition at line 308 of file nat66_cli.c.