32 define snat_add_address_range {
36 u8 first_ip_address[16];
37 u8 last_ip_address[16];
46 define snat_add_address_range_reply {
55 define snat_address_dump {
66 define snat_address_details {
80 define snat_interface_add_del_feature {
92 define snat_interface_add_del_feature_reply {
101 define snat_interface_dump {
111 define snat_interface_details {
138 u8 local_ip_address[16];
139 u8 external_ip_address[16];
151 define snat_add_static_mapping_reply {
160 define snat_static_mapping_dump {
177 define snat_static_mapping_details {
181 u8 local_ip_address[16];
182 u8 external_ip_address[16];
194 define snat_control_ping
206 define snat_control_ping_reply
218 define snat_show_config
238 define snat_show_config_reply
269 define snat_set_workers_reply {
278 define snat_worker_dump {
289 define snat_worker_details {
302 define snat_add_del_interface_addr {
314 define snat_add_del_interface_addr_reply {
323 define snat_interface_addr_dump {
332 define snat_interface_addr_details {
344 define snat_ipfix_enable_disable {
356 define snat_ipfix_enable_disable_reply {
365 define snat_user_dump {
378 define snat_user_details {
394 define snat_user_session_dump {
415 define snat_user_session_details {
418 u8 outside_ip_address[16];
420 u8 inside_ip_address[16];
439 define snat_add_det_map {
455 define snat_add_det_map_reply {
481 define snat_det_forward_reply {
511 define snat_det_reverse_reply {
522 define snat_det_map_dump {
538 define snat_det_map_details {
static void snat_det_reverse(snat_det_map_t *dm, ip4_address_t *out_addr, u16 out_port, ip4_address_t *in_addr)
static void snat_det_forward(snat_det_map_t *dm, ip4_address_t *in_addr, ip4_address_t *out_addr, u16 *lo_port)
u32 translation_memory_size
u32 max_translations_per_user
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, u32 sw_if_index, snat_protocol_t proto, int is_add)
Add static mapping.
u8 static_mapping_connection_tracking
static int snat_set_workers(uword *bitmap)