36 autoreply define snat_add_address_range {
40 u8 first_ip_address[16];
41 u8 last_ip_address[16];
50 define snat_address_dump {
61 define snat_address_details {
75 autoreply define snat_interface_add_del_feature {
87 define snat_interface_dump {
97 define snat_interface_details {
123 define snat_interface_output_feature_dump {
133 define snat_interface_output_feature_details {
161 u8 local_ip_address[16];
162 u8 external_ip_address[16];
174 define snat_static_mapping_dump {
191 define snat_static_mapping_details {
195 u8 local_ip_address[16];
196 u8 external_ip_address[16];
208 define snat_control_ping
220 define snat_control_ping_reply
232 define snat_show_config
252 define snat_show_config_reply
283 define snat_worker_dump {
294 define snat_worker_details {
307 autoreply define snat_add_del_interface_addr {
319 define snat_interface_addr_dump {
328 define snat_interface_addr_details {
340 autoreply define snat_ipfix_enable_disable {
352 define snat_user_dump {
365 define snat_user_details {
381 define snat_user_session_dump {
402 define snat_user_session_details {
405 u8 outside_ip_address[16];
407 u8 inside_ip_address[16];
426 autoreply define snat_add_det_map {
459 define snat_det_forward_reply {
489 define snat_det_reverse_reply {
500 define snat_det_map_dump {
516 define snat_det_map_details {
536 autoreply define snat_det_set_timeouts {
549 define snat_det_get_timeouts {
562 define snat_det_get_timeouts_reply {
580 autoreply define snat_det_close_session_out {
599 autoreply define snat_det_close_session_in {
615 define snat_det_session_dump {
632 define snat_det_session_details {
652 define nat_control_ping
664 define nat_control_ping_reply
676 define nat_show_config
696 define nat_show_config_reply
717 autoreply define nat_set_workers {
727 define nat_worker_dump {
738 define nat_worker_details {
752 autoreply define nat_ipfix_enable_disable {
772 autoreply define nat44_add_del_address_range {
775 u8 first_ip_address[4];
776 u8 last_ip_address[4];
785 define nat44_address_dump {
795 define nat44_address_details {
808 autoreply define nat44_interface_add_del_feature {
820 define nat44_interface_dump {
830 define nat44_interface_details {
844 autoreply define nat44_interface_add_del_output_feature {
856 define nat44_interface_output_feature_dump {
866 define nat44_interface_output_feature_details {
887 autoreply define nat44_add_del_static_mapping {
892 u8 local_ip_address[4];
893 u8 external_ip_address[4];
905 define nat44_static_mapping_dump {
921 define nat44_static_mapping_details {
924 u8 local_ip_address[4];
925 u8 external_ip_address[4];
939 autoreply define nat44_add_del_interface_addr {
951 define nat44_interface_addr_dump {
960 define nat44_interface_addr_details {
969 define nat44_user_dump {
981 define nat44_user_details {
996 define nat44_user_session_dump {
1015 define nat44_user_session_details {
1017 u8 outside_ip_address[4];
1028 typeonly manual_endian define nat44_lb_addr_port {
1046 define nat44_lb_static_mapping_dump {
1051 manual_endian define nat44_lb_static_mapping_details {
1075 autoreply define nat_det_add_del_map {
1093 define nat_det_forward {
1107 define nat_det_forward_reply {
1121 define nat_det_reverse {
1134 define nat_det_reverse_reply {
1145 define nat_det_map_dump {
1161 define nat_det_map_details {
1181 autoreply define nat_det_set_timeouts {
1194 define nat_det_get_timeouts {
1207 define nat_det_get_timeouts_reply {
1224 autoreply define nat_det_close_session_out {
1242 autoreply define nat_det_close_session_in {
1258 define nat_det_session_dump {
1274 define nat_det_session_details {
1297 autoreply define nat64_add_del_pool_addr_range {
1310 define nat64_pool_addr_dump {
1320 define nat64_pool_addr_details {
1345 define nat64_interface_dump {
1355 define nat64_interface_details {
1372 autoreply define nat64_add_del_static_bib {
1393 define nat64_bib_dump {
1410 define nat64_bib_details {
1431 autoreply define nat64_set_timeouts {
1445 define nat64_get_timeouts {
1459 define nat64_get_timeouts_reply {
1478 define nat64_st_dump {
1496 define nat64_st_details {
1530 define nat64_prefix_dump {
1541 define nat64_prefix_details {
int nat64_add_del_interface(u32 sw_if_index, u8 is_inside, u8 is_add)
Enable/disable NAT64 feature on the interface.
static void snat_det_forward(snat_det_map_t *dm, ip4_address_t *in_addr, ip4_address_t *out_addr, u16 *lo_port)
static void snat_det_reverse(snat_det_map_t *dm, ip4_address_t *out_addr, u16 out_port, ip4_address_t *in_addr)
u32 translation_memory_size
u32 max_translations_per_user
u32 translation_memory_size
u8 static_mapping_connection_tracking
int nat64_add_del_prefix(ip6_address_t *prefix, u8 plen, u32 vrf_id, u8 is_add)
Add/delete NAT64 prefix.
u32 max_translations_per_user
int snat_interface_add_del_output_feature(u32 sw_if_index, u8 is_inside, int is_del)
int nat44_add_del_lb_static_mapping(ip4_address_t e_addr, u16 e_port, snat_protocol_t proto, u32 vrf_id, nat44_lb_addr_port_t *locals, u8 is_add)
int snat_set_workers(uword *bitmap)
u8 static_mapping_connection_tracking
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.