Go to the source code of this file.
|
uword | unformat_cnat_snat_interface_map_type (unformat_input_t *input, va_list *args) |
|
u8 * | format_cnat_snat_interface_map_type (u8 *s, va_list *args) |
|
u8 * | format_cnat_snat_prefix (u8 *s, va_list *args) |
|
static void | cnat_compute_prefix_lengths_in_search_order (cnat_snat_exclude_pfx_table_t *table, ip_address_family_t af) |
|
int | cnat_snat_policy_add_del_if (u32 sw_if_index, u8 is_add, cnat_snat_interface_map_type_t table) |
|
static clib_error_t * | cnat_snat_policy_add_del_if_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | cnat_snat_policy_add_pfx (ip_prefix_t *pfx) |
|
int | cnat_snat_policy_del_pfx (ip_prefix_t *pfx) |
|
int | cnat_search_snat_prefix (ip46_address_t *addr, ip_address_family_t af) |
|
static_always_inline int | cnat_snat_policy_interface_enabled (u32 sw_if_index, ip_address_family_t af) |
|
int | cnat_snat_policy_none (vlib_buffer_t *b, cnat_session_t *session) |
|
int | cnat_snat_policy_if_pfx (vlib_buffer_t *b, cnat_session_t *session) |
|
int | cnat_snat_policy_k8s (vlib_buffer_t *b, cnat_session_t *session) |
|
void | cnat_set_snat (ip4_address_t *ip4, ip6_address_t *ip6, u32 sw_if_index) |
|
static clib_error_t * | cnat_set_snat_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | cnat_snat_policy_add_del_pfx_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | cnat_show_snat (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | cnat_set_snat_policy (cnat_snat_policy_type_t policy) |
|
static clib_error_t * | cnat_snat_policy_set_cmd_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | cnat_if_addr_add_del_snat_cb (addr_resolution_t *ar, ip_address_t *address, u8 is_del) |
|
static clib_error_t * | cnat_snat_init (vlib_main_t *vm) |
|
◆ cnat_compute_prefix_lengths_in_search_order()
◆ cnat_if_addr_add_del_snat_cb()
◆ cnat_search_snat_prefix()
◆ cnat_set_snat()
void cnat_set_snat |
( |
ip4_address_t * |
ip4, |
|
|
ip6_address_t * |
ip6, |
|
|
u32 |
sw_if_index |
|
) |
| |
◆ cnat_set_snat_cli()
◆ cnat_set_snat_policy()
◆ cnat_show_snat()
◆ cnat_snat_init()
◆ cnat_snat_policy_add_del_if()
◆ cnat_snat_policy_add_del_if_command_fn()
◆ cnat_snat_policy_add_del_pfx_command_fn()
◆ cnat_snat_policy_add_pfx()
◆ cnat_snat_policy_del_pfx()
◆ cnat_snat_policy_if_pfx()
◆ cnat_snat_policy_interface_enabled()
◆ cnat_snat_policy_k8s()
◆ cnat_snat_policy_none()
◆ cnat_snat_policy_set_cmd_fn()
◆ format_cnat_snat_interface_map_type()
u8* format_cnat_snat_interface_map_type |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_cnat_snat_prefix()
u8* format_cnat_snat_prefix |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ unformat_cnat_snat_interface_map_type()
◆ cnat_set_snat_command
Initial value:= {
.path = "set cnat snat-policy addr",
.short_help =
"set cnat snat-policy addr [<ip4-address>][<ip6-address>][sw_if_index]",
}
(constructor) VLIB_CLI_COMMAND (cnat_set_snat_command)
Definition at line 394 of file cnat_snat_policy.c.
◆ cnat_show_snat_command
Initial value:= {
.path = "show cnat snat-policy",
.short_help = "show cnat snat-policy",
}
(constructor) VLIB_CLI_COMMAND (cnat_show_snat_command)
Definition at line 466 of file cnat_snat_policy.c.
◆ cnat_snat_policy_add_del_if_command
Initial value:= {
.path = "set cnat snat-policy if",
.short_help = "set cnat snat-policy if [del]"
"[table [include-v4 include-v6 k8s]] [interface]",
}
(constructor) VLIB_CLI_COMMAND (cnat_snat_policy_add_del_if_command)
Definition at line 140 of file cnat_snat_policy.c.
◆ cnat_snat_policy_add_del_pfx_command
Initial value:= {
.path = "set cnat snat-policy prefix",
.short_help = "set cnat snat-policy prefix [del] [prefix]",
}
(constructor) VLIB_CLI_COMMAND (cnat_snat_policy_add_del_pfx_command)
Definition at line 432 of file cnat_snat_policy.c.
◆ cnat_snat_policy_main
◆ cnat_snat_policy_set_cmd
Initial value:= {
.path = "set cnat snat-policy",
.short_help = "set cnat snat-policy [none][if-pfx][k8s]",
}
(constructor) VLIB_CLI_COMMAND (cnat_snat_policy_set_cmd)
Definition at line 515 of file cnat_snat_policy.c.