FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
nat44_ed_cli.c File Reference

NAT44 CLI. More...

+ Include dependency graph for nat44_ed_cli.c:

Go to the source code of this file.

Macros

#define NAT44_ED_EXPECTED_ARGUMENT   "expected required argument(s)"
 

Functions

static clib_error_tnat44_ed_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
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_set_log_level_command_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_show_hash_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat_set_mss_clamping_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat_show_mss_clamping_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 void nat44_show_lru_summary (vlib_main_t *vm, snat_main_per_thread_data_t *tsm, u64 now, u64 sess_timeout_time)
 
static clib_error_tnat44_show_summary_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_tadd_lb_backend_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_set_session_limit_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_tset_timeout_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnat_show_timeouts_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_frame_queue_nelts_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t nat44_ed_enable_disable_command
 (constructor) VLIB_CLI_COMMAND (nat44_ed_enable_disable_command) More...
 
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 set_timeout_command
 (constructor) VLIB_CLI_COMMAND (set_timeout_command) More...
 
static vlib_cli_command_t nat_show_timeouts_command
 (constructor) VLIB_CLI_COMMAND (nat_show_timeouts_command) More...
 
static vlib_cli_command_t set_frame_queue_nelts_command
 (constructor) VLIB_CLI_COMMAND (set_frame_queue_nelts_command) More...
 
static vlib_cli_command_t snat_set_log_level_command
 (constructor) VLIB_CLI_COMMAND (snat_set_log_level_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 nat_set_mss_clamping_command
 (constructor) VLIB_CLI_COMMAND (nat_set_mss_clamping_command) More...
 
static vlib_cli_command_t nat_show_mss_clamping_command
 (constructor) VLIB_CLI_COMMAND (nat_show_mss_clamping_command) More...
 
static vlib_cli_command_t nat44_show_hash
 (constructor) VLIB_CLI_COMMAND (nat44_show_hash) More...
 
static vlib_cli_command_t add_address_command
 (constructor) VLIB_CLI_COMMAND (add_address_command) More...
 
static vlib_cli_command_t nat44_show_summary_command
 (constructor) VLIB_CLI_COMMAND (nat44_show_summary_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 add_lb_backend_command
 (constructor) VLIB_CLI_COMMAND (add_lb_backend_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_set_session_limit_command
 (constructor) VLIB_CLI_COMMAND (nat44_set_session_limit_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...
 

Detailed Description

NAT44 CLI.

Definition in file nat44_ed_cli.c.

Macro Definition Documentation

◆ NAT44_ED_EXPECTED_ARGUMENT

#define NAT44_ED_EXPECTED_ARGUMENT   "expected required argument(s)"

Definition at line 30 of file nat44_ed_cli.c.

Function Documentation

◆ add_address_command_fn()

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 355 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ add_identity_mapping_command_fn()

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 976 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ add_lb_backend_command_fn()

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

Definition at line 1196 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ add_lb_static_mapping_command_fn()

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 1074 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ add_static_mapping_command_fn()

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 833 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_del_session_command_fn()

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 1462 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_ed_enable_disable_command_fn()

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

Definition at line 33 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_set_session_limit_command_fn()

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

Definition at line 1424 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_show_addresses_command_fn()

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 624 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_show_hash_command_fn()

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

Definition at line 273 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_show_interface_address_command_fn()

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 1357 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_show_interfaces_command_fn()

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 801 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_show_lru_summary()

static void nat44_show_lru_summary ( vlib_main_t vm,
snat_main_per_thread_data_t tsm,
u64  now,
u64  sess_timeout_time 
)
static

Definition at line 456 of file nat44_ed_cli.c.

+ Here is the caller graph for this function:

◆ nat44_show_sessions_command_fn()

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 1382 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_show_static_mappings_command_fn()

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 1278 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat44_show_summary_command_fn()

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

Definition at line 490 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat_set_mss_clamping_command_fn()

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

Definition at line 308 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat_show_mss_clamping_command_fn()

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

Definition at line 341 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat_show_timeouts_command_fn()

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

Definition at line 1603 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ nat_show_workers_commnad_fn()

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 165 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ set_frame_queue_nelts_command_fn()

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

Definition at line 1620 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ set_timeout_command_fn()

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 1570 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ set_workers_command_fn()

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 111 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ snat_add_interface_address_command_fn()

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 1298 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ snat_feature_command_fn()

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 662 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ snat_forwarding_set_command_fn()

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 1528 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ snat_ipfix_logging_enable_disable_command_fn()

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 219 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

◆ snat_set_log_level_command_fn()

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

Definition at line 186 of file nat44_ed_cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ add_address_command

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]",
}

(constructor) VLIB_CLI_COMMAND (add_address_command)

Definition at line 1833 of file nat44_ed_cli.c.

◆ add_identity_mapping_command

vlib_cli_command_t add_identity_mapping_command
static
Initial value:
= {
.path = "nat44 add identity mapping",
.short_help = "nat44 add identity mapping <ip4-addr>|external <interface> "
"[<protocol> <port>] [vrf <table-id>] [del]",
}

(constructor) VLIB_CLI_COMMAND (add_identity_mapping_command)

Definition at line 1957 of file nat44_ed_cli.c.

◆ add_lb_backend_command

vlib_cli_command_t add_lb_backend_command
static
Initial value:
= {
.path = "nat44 add load-balancing back-end",
.short_help =
"nat44 add load-balancing back-end protocol tcp|udp "
"external <addr>:<port> local <addr>:<port> [vrf <table-id>] "
"probability <n> [del]",
}

(constructor) VLIB_CLI_COMMAND (add_lb_backend_command)

Definition at line 1993 of file nat44_ed_cli.c.

◆ add_lb_static_mapping_command

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> [vrf <table-id>] "
"probability <n> [twice-nat|self-twice-nat] [out2in-only] "
"[affinity <timeout-seconds>] [del]",
}

(constructor) VLIB_CLI_COMMAND (add_lb_static_mapping_command)

Definition at line 1974 of file nat44_ed_cli.c.

◆ add_static_mapping_command

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|icmp-echo-id>] "
"external <addr> [<port|icmp-echo-id>] [vrf <table-id>] [twice-nat|self-twice-nat] "
"[out2in-only] [exact <pool-addr>] [del]",
}

(constructor) VLIB_CLI_COMMAND (add_static_mapping_command)

Definition at line 1935 of file nat44_ed_cli.c.

◆ nat44_del_session_command

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>] [external-host <addr>:<port>]",
}

(constructor) VLIB_CLI_COMMAND (nat44_del_session_command)

Definition at line 2087 of file nat44_ed_cli.c.

◆ nat44_ed_enable_disable_command

vlib_cli_command_t nat44_ed_enable_disable_command
static
Initial value:
= {
.path = "nat44",
.short_help = "nat44 <enable [sessions <max-number>] [static-mapping-only "
"connection-tracking] [inside-vrf <vrf-id>] "
"[outside-vrf <vrf-id>]>|disable",
}

(constructor) VLIB_CLI_COMMAND (nat44_ed_enable_disable_command)

Definition at line 1670 of file nat44_ed_cli.c.

◆ nat44_set_session_limit_command

vlib_cli_command_t nat44_set_session_limit_command
static
Initial value:
= {
.path = "set nat44 session limit",
.short_help = "set nat44 session limit <limit> [vrf <table-id>]",
}

(constructor) VLIB_CLI_COMMAND (nat44_set_session_limit_command)

Definition at line 2072 of file nat44_ed_cli.c.

◆ nat44_show_addresses_command

vlib_cli_command_t nat44_show_addresses_command
static
Initial value:
= {
.path = "show nat44 addresses",
.short_help = "show nat44 addresses",
}

(constructor) VLIB_CLI_COMMAND (nat44_show_addresses_command)

Definition at line 1877 of file nat44_ed_cli.c.

◆ nat44_show_hash

vlib_cli_command_t nat44_show_hash
static
Initial value:
= {
.path = "show nat44 hash tables",
.short_help = "show nat44 hash tables [detail|verbose]",
}

(constructor) VLIB_CLI_COMMAND (nat44_show_hash)

Definition at line 1816 of file nat44_ed_cli.c.

◆ nat44_show_interface_address_command

vlib_cli_command_t nat44_show_interface_address_command
static
Initial value:
= {
.path = "show nat44 interface address",
.short_help = "show nat44 interface address",
}

(constructor) VLIB_CLI_COMMAND (nat44_show_interface_address_command)

Definition at line 2048 of file nat44_ed_cli.c.

◆ nat44_show_interfaces_command

vlib_cli_command_t nat44_show_interfaces_command
static
Initial value:
= {
.path = "show nat44 interfaces",
.short_help = "show nat44 interfaces",
}

(constructor) VLIB_CLI_COMMAND (nat44_show_interfaces_command)

Definition at line 1910 of file nat44_ed_cli.c.

◆ nat44_show_sessions_command

vlib_cli_command_t nat44_show_sessions_command
static
Initial value:
= {
.path = "show nat44 sessions",
.short_help = "show nat44 sessions",
}

(constructor) VLIB_CLI_COMMAND (nat44_show_sessions_command)

Definition at line 2060 of file nat44_ed_cli.c.

◆ nat44_show_static_mappings_command

vlib_cli_command_t nat44_show_static_mappings_command
static
Initial value:
= {
.path = "show nat44 static mappings",
.short_help = "show nat44 static mappings",
}

(constructor) VLIB_CLI_COMMAND (nat44_show_static_mappings_command)

Definition at line 2017 of file nat44_ed_cli.c.

◆ nat44_show_summary_command

vlib_cli_command_t nat44_show_summary_command
static
Initial value:
= {
.path = "show nat44 summary",
.short_help = "show nat44 summary",
}

(constructor) VLIB_CLI_COMMAND (nat44_show_summary_command)

Definition at line 1847 of file nat44_ed_cli.c.

◆ nat_set_mss_clamping_command

vlib_cli_command_t nat_set_mss_clamping_command
static
Initial value:
= {
.path = "nat mss-clamping",
.short_help = "nat mss-clamping <mss-value>|disable",
}

(constructor) VLIB_CLI_COMMAND (nat_set_mss_clamping_command)

Definition at line 1792 of file nat44_ed_cli.c.

◆ nat_show_mss_clamping_command

vlib_cli_command_t nat_show_mss_clamping_command
static
Initial value:
= {
.path = "show nat mss-clamping",
.short_help = "show nat mss-clamping",
}

(constructor) VLIB_CLI_COMMAND (nat_show_mss_clamping_command)

Definition at line 1804 of file nat44_ed_cli.c.

◆ nat_show_timeouts_command

vlib_cli_command_t nat_show_timeouts_command
static
Initial value:
= {
.path = "show nat timeouts",
.short_help = "show nat timeouts",
}

(constructor) VLIB_CLI_COMMAND (nat_show_timeouts_command)

Definition at line 1735 of file nat44_ed_cli.c.

◆ nat_show_workers_command

vlib_cli_command_t nat_show_workers_command
static
Initial value:
= {
.path = "show nat workers",
.short_help = "show nat workers",
}

(constructor) VLIB_CLI_COMMAND (nat_show_workers_command)

Definition at line 1701 of file nat44_ed_cli.c.

◆ set_frame_queue_nelts_command

vlib_cli_command_t set_frame_queue_nelts_command
static
Initial value:
= {
.path = "set nat frame-queue-nelts",
.short_help = "set nat frame-queue-nelts <number>",
}

(constructor) VLIB_CLI_COMMAND (set_frame_queue_nelts_command)

Definition at line 1747 of file nat44_ed_cli.c.

◆ set_interface_snat_command

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]",
}

(constructor) VLIB_CLI_COMMAND (set_interface_snat_command)

Definition at line 1893 of file nat44_ed_cli.c.

◆ set_timeout_command

vlib_cli_command_t set_timeout_command
static
Initial value:
= {
.path = "set nat timeout",
.short_help =
"set nat timeout [udp <sec> | tcp-established <sec> "
"tcp-transitory <sec> | icmp <sec> | reset]",
}

(constructor) VLIB_CLI_COMMAND (set_timeout_command)

Definition at line 1716 of file nat44_ed_cli.c.

◆ set_workers_command

vlib_cli_command_t set_workers_command
static
Initial value:
= {
.path = "set nat workers",
.short_help = "set nat workers <workers-list>",
}

(constructor) VLIB_CLI_COMMAND (set_workers_command)

Definition at line 1685 of file nat44_ed_cli.c.

◆ snat_add_interface_address_command

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]",
}

(constructor) VLIB_CLI_COMMAND (snat_add_interface_address_command)

Definition at line 2031 of file nat44_ed_cli.c.

◆ snat_forwarding_set_command

vlib_cli_command_t snat_forwarding_set_command
static
Initial value:
= {
.path = "nat44 forwarding",
.short_help = "nat44 forwarding enable|disable",
}

(constructor) VLIB_CLI_COMMAND (snat_forwarding_set_command)

Definition at line 2105 of file nat44_ed_cli.c.

◆ snat_ipfix_logging_enable_disable_command

vlib_cli_command_t snat_ipfix_logging_enable_disable_command
static
Initial value:
= {
.path = "nat ipfix logging",
.short_help = "nat ipfix logging disable|<enable [domain <domain-id>] "
"[src-port <port>]>",
}

(constructor) VLIB_CLI_COMMAND (snat_ipfix_logging_enable_disable_command)

Definition at line 1775 of file nat44_ed_cli.c.

◆ snat_set_log_level_command

vlib_cli_command_t snat_set_log_level_command
static
Initial value:
= {
.path = "nat set logging level",
.short_help = "nat set logging level <level>",
}

(constructor) VLIB_CLI_COMMAND (snat_set_log_level_command)

Definition at line 1760 of file nat44_ed_cli.c.

nat_show_timeouts_command_fn
static clib_error_t * nat_show_timeouts_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1603
add_address_command_fn
static clib_error_t * add_address_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:355
nat44_ed_enable_disable_command_fn
static clib_error_t * nat44_ed_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:33
nat_set_mss_clamping_command_fn
static clib_error_t * nat_set_mss_clamping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:308
add_lb_static_mapping_command_fn
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_ed_cli.c:1074
set_timeout_command_fn
static clib_error_t * set_timeout_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1570
nat44_show_addresses_command_fn
static clib_error_t * nat44_show_addresses_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:624
nat44_show_hash_command_fn
static clib_error_t * nat44_show_hash_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:273
snat_add_interface_address_command_fn
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_ed_cli.c:1298
add_lb_backend_command_fn
static clib_error_t * add_lb_backend_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1196
set_frame_queue_nelts_command_fn
static clib_error_t * set_frame_queue_nelts_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1620
add_identity_mapping_command_fn
static clib_error_t * add_identity_mapping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:976
nat44_show_interfaces_command_fn
static clib_error_t * nat44_show_interfaces_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:801
nat44_del_session_command_fn
static clib_error_t * nat44_del_session_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1462
set_workers_command_fn
static clib_error_t * set_workers_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:111
nat44_show_static_mappings_command_fn
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_ed_cli.c:1278
snat_set_log_level_command_fn
static clib_error_t * snat_set_log_level_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:186
nat44_show_summary_command_fn
static clib_error_t * nat44_show_summary_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:490
snat_feature_command_fn
static clib_error_t * snat_feature_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:662
nat44_set_session_limit_command_fn
static clib_error_t * nat44_set_session_limit_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1424
snat_ipfix_logging_enable_disable_command_fn
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_ed_cli.c:219
nat_show_mss_clamping_command_fn
static clib_error_t * nat_show_mss_clamping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:341
nat_show_workers_commnad_fn
static clib_error_t * nat_show_workers_commnad_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:165
snat_forwarding_set_command_fn
static clib_error_t * snat_forwarding_set_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1528
add_static_mapping_command_fn
static clib_error_t * add_static_mapping_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:833
nat44_show_sessions_command_fn
static clib_error_t * nat44_show_sessions_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: nat44_ed_cli.c:1382
nat44_show_interface_address_command_fn
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_ed_cli.c:1357