Go to the source code of this file.
|
static void | cnat_compute_prefix_lengths_in_search_order (cnat_snat_pfx_table_t *table, ip_address_family_t af) |
|
int | cnat_add_snat_prefix (ip_prefix_t *pfx) |
|
int | cnat_del_snat_prefix (ip_prefix_t *pfx) |
|
int | cnat_search_snat_prefix (ip46_address_t *addr, ip_address_family_t af) |
|
u8 * | format_cnat_snat_prefix (u8 *s, va_list *args) |
|
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_exclude (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) |
|
static clib_error_t * | cnat_snat_init (vlib_main_t *vm) |
|
◆ cnat_add_snat_prefix()
◆ cnat_compute_prefix_lengths_in_search_order()
◆ cnat_del_snat_prefix()
◆ 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_show_snat()
◆ cnat_snat_exclude()
◆ cnat_snat_init()
◆ format_cnat_snat_prefix()
u8* format_cnat_snat_prefix |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ cnat_set_snat_command
Initial value:=
{
.path = "cnat snat with",
.short_help = "cnat snat with [<ip4-address>][<ip6-address>][sw_if_index]",
}
static clib_error_t * cnat_set_snat_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cnat_set_snat_command)
Definition at line 224 of file cnat_snat.c.
◆ cnat_show_snat_command
Initial value:=
{
.path = "show cnat snat",
.short_help = "show cnat snat",
}
static clib_error_t * cnat_show_snat(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cnat_show_snat_command)
Definition at line 287 of file cnat_snat.c.
◆ cnat_snat_exclude_command
Initial value:=
{
.path = "cnat snat exclude",
.short_help = "cnat snat exclude [ip]",
}
static clib_error_t * cnat_snat_exclude(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cnat_snat_exclude_command)
Definition at line 265 of file cnat_snat.c.