FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
nat44_cli.c File Reference

NAT44 CLI. More...

+ Include dependency graph for nat44_cli.c:

Go to the source code of this file.

Functions

static clib_error_tset_workers_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat_show_workers_commnad_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_ipfix_logging_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_set_alloc_addr_and_port_alg_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tadd_address_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_show_addresses_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_feature_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_show_interfaces_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tadd_static_mapping_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tadd_identity_mapping_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tadd_lb_static_mapping_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_show_static_mappings_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_add_interface_address_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_show_interface_address_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_show_sessions_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_del_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_forwarding_set_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_det_map_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_det_show_mappings_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_det_forward_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_det_reverse_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_timeout_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_det_show_timeouts_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat44_det_show_sessions_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_det_close_session_out_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tsnat_det_close_session_in_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t set_workers_command
 (constructor) VLIB_CLI_COMMAND (set_workers_command) More...
 
static vlib_cli_command_t nat_show_workers_command
 (constructor) VLIB_CLI_COMMAND (nat_show_workers_command) More...
 
static vlib_cli_command_t snat_ipfix_logging_enable_disable_command
 (constructor) VLIB_CLI_COMMAND (snat_ipfix_logging_enable_disable_command) More...
 
static vlib_cli_command_t nat44_set_alloc_addr_and_port_alg_command
 (constructor) VLIB_CLI_COMMAND (nat44_set_alloc_addr_and_port_alg_command) More...
 
static vlib_cli_command_t add_address_command
 (constructor) VLIB_CLI_COMMAND (add_address_command) More...
 
static vlib_cli_command_t nat44_show_addresses_command
 (constructor) VLIB_CLI_COMMAND (nat44_show_addresses_command) More...
 
static vlib_cli_command_t set_interface_snat_command
 (constructor) VLIB_CLI_COMMAND (set_interface_snat_command) More...
 
static vlib_cli_command_t nat44_show_interfaces_command
 (constructor) VLIB_CLI_COMMAND (nat44_show_interfaces_command) More...
 
static vlib_cli_command_t add_static_mapping_command
 (constructor) VLIB_CLI_COMMAND (add_static_mapping_command) More...
 
static vlib_cli_command_t add_identity_mapping_command
 (constructor) VLIB_CLI_COMMAND (add_identity_mapping_command) More...
 
static vlib_cli_command_t add_lb_static_mapping_command
 (constructor) VLIB_CLI_COMMAND (add_lb_static_mapping_command) More...
 
static vlib_cli_command_t nat44_show_static_mappings_command
 (constructor) VLIB_CLI_COMMAND (nat44_show_static_mappings_command) More...
 
static vlib_cli_command_t snat_add_interface_address_command
 (constructor) VLIB_CLI_COMMAND (snat_add_interface_address_command) More...
 
static vlib_cli_command_t nat44_show_interface_address_command
 (constructor) VLIB_CLI_COMMAND (nat44_show_interface_address_command) More...
 
static vlib_cli_command_t nat44_show_sessions_command
 (constructor) VLIB_CLI_COMMAND (nat44_show_sessions_command) More...
 
static vlib_cli_command_t nat44_del_session_command
 (constructor) VLIB_CLI_COMMAND (nat44_del_session_command) More...
 
static vlib_cli_command_t snat_forwarding_set_command
 (constructor) VLIB_CLI_COMMAND (snat_forwarding_set_command) More...
 
static vlib_cli_command_t snat_det_map_command
 (constructor) VLIB_CLI_COMMAND (snat_det_map_command) More...
 
static vlib_cli_command_t nat44_det_show_mappings_command
 (constructor) VLIB_CLI_COMMAND (nat44_det_show_mappings_command) More...
 
static vlib_cli_command_t snat_det_forward_command
 (constructor) VLIB_CLI_COMMAND (snat_det_forward_command) More...
 
static vlib_cli_command_t snat_det_reverse_command
 (constructor) VLIB_CLI_COMMAND (snat_det_reverse_command) More...
 
static vlib_cli_command_t set_timeout_command
 (constructor) VLIB_CLI_COMMAND (set_timeout_command) More...
 
static vlib_cli_command_t nat44_det_show_timeouts_command
 (constructor) VLIB_CLI_COMMAND (nat44_det_show_timeouts_command) More...
 
static vlib_cli_command_t nat44_det_show_sessions_command
 (constructor) VLIB_CLI_COMMAND (nat44_det_show_sessions_command) More...
 
static vlib_cli_command_t snat_det_close_sesion_out_command
 (constructor) VLIB_CLI_COMMAND (snat_det_close_sesion_out_command) More...
 
static vlib_cli_command_t snat_det_close_session_in_command
 (constructor) VLIB_CLI_COMMAND (snat_det_close_session_in_command) More...
 

Detailed Description

NAT44 CLI.

Definition in file nat44_cli.c.

Function Documentation

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

Definition at line 186 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 572 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 647 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 466 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 874 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1030 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1212 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1195 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 149 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 283 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 817 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 433 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 844 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 742 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 80 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1150 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 26 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 764 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1293 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1237 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1056 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 980 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 1100 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 323 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 931 of file nat44_cli.c.

+ Here is the call graph for this function:

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

Definition at line 103 of file nat44_cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t add_address_command
static
Initial value:
= {
.path = "nat44 add address",
.short_help = "nat44 add address <ip4-range-start> [- <ip4-range-end>] "
"[tenant-vrf <vrf-id>] [twice-nat] [del]",
}
static clib_error_t * add_address_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:186

(constructor) VLIB_CLI_COMMAND (add_address_command)

Definition at line 1419 of file nat44_cli.c.

vlib_cli_command_t add_identity_mapping_command
static
Initial value:
= {
.path = "nat44 add identity mapping",
.short_help = "nat44 add identity mapping <interface>|<ip4-addr> "
"[<protocol> <port>] [vrf <table-id>] [del]",
}
static clib_error_t * add_identity_mapping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:572

(constructor) VLIB_CLI_COMMAND (add_identity_mapping_command)

Definition at line 1524 of file nat44_cli.c.

vlib_cli_command_t add_lb_static_mapping_command
static
Initial value:
= {
.path = "nat44 add load-balancing static mapping",
.short_help =
"nat44 add load-balancing static mapping protocol tcp|udp "
"external <addr>:<port> local <addr>:<port> probability <n> [twice-nat] "
"[vrf <table-id>] [out2in-only] [del]",
}
static clib_error_t * add_lb_static_mapping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:647

(constructor) VLIB_CLI_COMMAND (add_lb_static_mapping_command)

Definition at line 1541 of file nat44_cli.c.

vlib_cli_command_t add_static_mapping_command
static
Initial value:
= {
.path = "nat44 add static mapping",
.short_help =
"nat44 add static mapping tcp|udp|icmp local <addr> [<port>] "
"external <addr> [<port>] [vrf <table-id>] [twice-nat] [out2in-only] [del]",
}
static clib_error_t * add_static_mapping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:466

(constructor) VLIB_CLI_COMMAND (add_static_mapping_command)

Definition at line 1503 of file nat44_cli.c.

vlib_cli_command_t nat44_del_session_command
static
Initial value:
= {
.path = "nat44 del session",
.short_help = "nat44 del session in|out <addr>:<port> tcp|udp|icmp [vrf <id>]",
}
static clib_error_t * nat44_del_session_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:874

(constructor) VLIB_CLI_COMMAND (nat44_del_session_command)

Definition at line 1623 of file nat44_cli.c.

vlib_cli_command_t nat44_det_show_mappings_command
static
Initial value:
= {
.path = "show nat44 deterministic mappings",
.short_help = "show nat44 deterministic mappings",
}
static clib_error_t * nat44_det_show_mappings_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1030

(constructor) VLIB_CLI_COMMAND (nat44_det_show_mappings_command)

Definition at line 1676 of file nat44_cli.c.

vlib_cli_command_t nat44_det_show_sessions_command
static
Initial value:
= {
.path = "show nat44 deterministic sessions",
.short_help = "show nat44 deterministic sessions",
}
static clib_error_t * nat44_det_show_sessions_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1212

(constructor) VLIB_CLI_COMMAND (nat44_det_show_sessions_command)

Definition at line 1759 of file nat44_cli.c.

vlib_cli_command_t nat44_det_show_timeouts_command
static
Initial value:
= {
.path = "show nat44 deterministic timeouts",
.short_help = "show nat44 deterministic timeouts",
}
static clib_error_t * nat44_det_show_timeouts_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1195

(constructor) VLIB_CLI_COMMAND (nat44_det_show_timeouts_command)

Definition at line 1742 of file nat44_cli.c.

vlib_cli_command_t nat44_set_alloc_addr_and_port_alg_command
static
Initial value:
= {
.path = "nat addr-port-assignment-alg",
.short_help = "nat addr-port-assignment-alg <alg-name> [<alg-params>]",
}
static clib_error_t * nat44_set_alloc_addr_and_port_alg_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:149

(constructor) VLIB_CLI_COMMAND (nat44_set_alloc_addr_and_port_alg_command)

Definition at line 1402 of file nat44_cli.c.

vlib_cli_command_t nat44_show_addresses_command
static
Initial value:
= {
.path = "show nat44 addresses",
.short_help = "show nat44 addresses",
}
static clib_error_t * nat44_show_addresses_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:283

(constructor) VLIB_CLI_COMMAND (nat44_show_addresses_command)

Definition at line 1450 of file nat44_cli.c.

vlib_cli_command_t nat44_show_interface_address_command
static
Initial value:
= {
.path = "show nat44 interface address",
.short_help = "show nat44 interface address",
}
static clib_error_t * nat44_show_interface_address_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:817

(constructor) VLIB_CLI_COMMAND (nat44_show_interface_address_command)

Definition at line 1596 of file nat44_cli.c.

vlib_cli_command_t nat44_show_interfaces_command
static
Initial value:
= {
.path = "show nat44 interfaces",
.short_help = "show nat44 interfaces",
}
static clib_error_t * nat44_show_interfaces_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:433

(constructor) VLIB_CLI_COMMAND (nat44_show_interfaces_command)

Definition at line 1483 of file nat44_cli.c.

vlib_cli_command_t nat44_show_sessions_command
static
Initial value:
= {
.path = "show nat44 sessions",
.short_help = "show nat44 sessions [detail]",
}
static clib_error_t * nat44_show_sessions_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:844

(constructor) VLIB_CLI_COMMAND (nat44_show_sessions_command)

Definition at line 1608 of file nat44_cli.c.

vlib_cli_command_t nat44_show_static_mappings_command
static
Initial value:
= {
.path = "show nat44 static mappings",
.short_help = "show nat44 static mappings",
}
static clib_error_t * nat44_show_static_mappings_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:742

(constructor) VLIB_CLI_COMMAND (nat44_show_static_mappings_command)

Definition at line 1565 of file nat44_cli.c.

vlib_cli_command_t nat_show_workers_command
static
Initial value:
= {
.path = "show nat workers",
.short_help = "show nat workers",
}
static clib_error_t * nat_show_workers_commnad_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:80

(constructor) VLIB_CLI_COMMAND (nat_show_workers_command)

Definition at line 1371 of file nat44_cli.c.

vlib_cli_command_t set_interface_snat_command
static
Initial value:
= {
.path = "set interface nat44",
.short_help = "set interface nat44 in <intfc> out <intfc> [output-feature] "
"[del]",
}
static clib_error_t * snat_feature_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:323

(constructor) VLIB_CLI_COMMAND (set_interface_snat_command)

Definition at line 1466 of file nat44_cli.c.

vlib_cli_command_t set_timeout_command
static
Initial value:
= {
.path = "set nat44 deterministic timeout",
.short_help =
"set nat44 deterministic timeout [udp <sec> | tcp-established <sec> "
"tcp-transitory <sec> | icmp <sec> | reset]",
}
static clib_error_t * set_timeout_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1150

(constructor) VLIB_CLI_COMMAND (set_timeout_command)

Definition at line 1723 of file nat44_cli.c.

vlib_cli_command_t set_workers_command
static
Initial value:
= {
.path = "set nat workers",
.short_help = "set nat workers <workers-list>",
}
static clib_error_t * set_workers_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:26

(constructor) VLIB_CLI_COMMAND (set_workers_command)

Definition at line 1355 of file nat44_cli.c.

vlib_cli_command_t snat_add_interface_address_command
static
Initial value:
= {
.path = "nat44 add interface address",
.short_help = "nat44 add interface address <interface> [twice-nat] [del]",
}
static clib_error_t * snat_add_interface_address_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:764

(constructor) VLIB_CLI_COMMAND (snat_add_interface_address_command)

Definition at line 1579 of file nat44_cli.c.

vlib_cli_command_t snat_det_close_sesion_out_command
static
Initial value:
= {
.path = "nat44 deterministic close session out",
.short_help = "nat44 deterministic close session out "
"<out_addr>:<out_port> <ext_addr>:<ext_port>",
}
static clib_error_t * snat_det_close_session_out_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1237

(constructor) VLIB_CLI_COMMAND (snat_det_close_sesion_out_command)

Definition at line 1773 of file nat44_cli.c.

vlib_cli_command_t snat_det_close_session_in_command
static
Initial value:
= {
.path = "nat44 deterministic close session in",
.short_help = "nat44 deterministic close session in "
"<in_addr>:<in_port> <ext_addr>:<ext_port>",
}
static clib_error_t * snat_det_close_session_in_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1293

(constructor) VLIB_CLI_COMMAND (snat_det_close_session_in_command)

Definition at line 1788 of file nat44_cli.c.

vlib_cli_command_t snat_det_forward_command
static
Initial value:
= {
.path = "nat44 deterministic forward",
.short_help = "nat44 deterministic forward <addr>",
}
static clib_error_t * snat_det_forward_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1056

(constructor) VLIB_CLI_COMMAND (snat_det_forward_command)

Definition at line 1692 of file nat44_cli.c.

vlib_cli_command_t snat_det_map_command
static
Initial value:
= {
.path = "nat44 deterministic add",
.short_help = "nat44 deterministic add in <addr>/<plen> out <addr>/<plen> [del]",
}
static clib_error_t * snat_det_map_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:980

(constructor) VLIB_CLI_COMMAND (snat_det_map_command)

Definition at line 1658 of file nat44_cli.c.

vlib_cli_command_t snat_det_reverse_command
static
Initial value:
= {
.path = "nat44 deterministic reverse",
.short_help = "nat44 deterministic reverse <addr>:<port>",
}
static clib_error_t * snat_det_reverse_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:1100

(constructor) VLIB_CLI_COMMAND (snat_det_reverse_command)

Definition at line 1707 of file nat44_cli.c.

vlib_cli_command_t snat_forwarding_set_command
static
Initial value:
= {
.path = "nat44 forwarding",
.short_help = "nat44 forwarding enable|disable",
}
static clib_error_t * snat_forwarding_set_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:931

(constructor) VLIB_CLI_COMMAND (snat_forwarding_set_command)

Definition at line 1641 of file nat44_cli.c.

vlib_cli_command_t snat_ipfix_logging_enable_disable_command
static
Initial value:
= {
.path = "nat ipfix logging",
.short_help = "nat ipfix logging [domain <domain-id>] [src-port <port>] [disable]",
}
static clib_error_t * snat_ipfix_logging_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_cli.c:103

(constructor) VLIB_CLI_COMMAND (snat_ipfix_logging_enable_disable_command)

Definition at line 1386 of file nat44_cli.c.