|
| VNET_FEATURE_INIT (ip4_snat_in2out, static) |
|
| VNET_FEATURE_INIT (ip4_snat_out2in, static) |
|
| VNET_FEATURE_INIT (ip4_snat_in2out_worker_handoff, static) |
|
| VNET_FEATURE_INIT (ip4_snat_out2in_worker_handoff, static) |
|
| VNET_FEATURE_INIT (ip4_snat_in2out_fast, static) |
|
| VNET_FEATURE_INIT (ip4_snat_out2in_fast, static) |
|
clib_error_t * | vlib_plugin_register (vlib_main_t *vm, vnet_plugin_handoff_t *h, int from_early_init) |
|
void | snat_add_address (snat_main_t *sm, ip4_address_t *addr) |
|
static int | is_snat_address_used_in_static_mapping (snat_main_t *sm, ip4_address_t addr) |
|
int | snat_del_address (snat_main_t *sm, ip4_address_t addr) |
|
static void | increment_v4_address (ip4_address_t *a) |
|
int | snat_add_static_mapping (ip4_address_t l_addr, ip4_address_t e_addr, u16 l_port, u16 e_port, u32 vrf_id, int addr_only, int is_add) |
| Add static mapping. More...
|
|
static int | snat_interface_add_del (u32 sw_if_index, u8 is_inside, int is_del) |
|
static int | snat_set_workers (uword *bitmap) |
|
static void | vl_api_snat_add_address_range_t_handler (vl_api_snat_add_address_range_t *mp) |
|
static void * | vl_api_snat_add_address_range_t_print (vl_api_snat_add_address_range_t *mp, void *handle) |
|
static void | send_snat_address_details (snat_address_t *a, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_snat_address_dump_t_handler (vl_api_snat_address_dump_t *mp) |
|
static void * | vl_api_snat_address_dump_t_print (vl_api_snat_address_dump_t *mp, void *handle) |
|
static void | vl_api_snat_interface_add_del_feature_t_handler (vl_api_snat_interface_add_del_feature_t *mp) |
|
static void * | vl_api_snat_interface_add_del_feature_t_print (vl_api_snat_interface_add_del_feature_t *mp, void *handle) |
|
static void | send_snat_interface_details (snat_interface_t *i, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_snat_interface_dump_t_handler (vl_api_snat_interface_dump_t *mp) |
|
static void * | vl_api_snat_interface_dump_t_print (vl_api_snat_interface_dump_t *mp, void *handle) |
|
static void | vl_api_snat_add_static_mapping_t_handler (vl_api_snat_add_static_mapping_t *mp) |
|
static void * | vl_api_snat_add_static_mapping_t_print (vl_api_snat_add_static_mapping_t *mp, void *handle) |
|
static void | send_snat_static_mapping_details (snat_static_mapping_t *m, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_snat_static_mapping_dump_t_handler (vl_api_snat_static_mapping_dump_t *mp) |
|
static void * | vl_api_snat_static_mapping_dump_t_print (vl_api_snat_static_mapping_dump_t *mp, void *handle) |
|
static void | vl_api_snat_control_ping_t_handler (vl_api_snat_control_ping_t *mp) |
|
static void * | vl_api_snat_control_ping_t_print (vl_api_snat_control_ping_t *mp, void *handle) |
|
static void | vl_api_snat_show_config_t_handler (vl_api_snat_show_config_t *mp) |
|
static void * | vl_api_snat_show_config_t_print (vl_api_snat_show_config_t *mp, void *handle) |
|
static void | vl_api_snat_set_workers_t_handler (vl_api_snat_set_workers_t *mp) |
|
static void * | vl_api_snat_set_workers_t_print (vl_api_snat_set_workers_t *mp, void *handle) |
|
static void | send_snat_worker_details (u32 worker_index, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_snat_worker_dump_t_handler (vl_api_snat_worker_dump_t *mp) |
|
static void * | vl_api_snat_worker_dump_t_print (vl_api_snat_worker_dump_t *mp, void *handle) |
|
static clib_error_t * | snat_plugin_api_hookup (vlib_main_t *vm) |
|
static void | setup_message_id_table (snat_main_t *sm, api_main_t *am) |
|
static void | plugin_custom_dump_configure (snat_main_t *sm) |
|
static clib_error_t * | snat_init (vlib_main_t *vm) |
|
void | snat_free_outside_address_and_port (snat_main_t *sm, snat_session_key_t *k, u32 address_index) |
|
int | snat_static_mapping_match (snat_main_t *sm, snat_session_key_t match, snat_session_key_t *mapping, u8 by_external) |
| Match SNAT static mapping. More...
|
|
int | snat_alloc_outside_address_and_port (snat_main_t *sm, snat_session_key_t *k, u32 *address_indexp) |
|
static clib_error_t * | add_address_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | snat_feature_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | add_static_mapping_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | set_workers_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | snat_config (vlib_main_t *vm, unformat_input_t *input) |
|
u8 * | format_snat_key (u8 *s, va_list *args) |
|
u8 * | format_snat_session (u8 *s, va_list *args) |
|
u8 * | format_snat_user (u8 *s, va_list *args) |
|
u8 * | format_snat_static_mapping (u8 *s, va_list *args) |
|
static clib_error_t * | show_snat_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|