32 autoreply define snat_add_address_range {
36 u8 first_ip_address[16];
37 u8 last_ip_address[16];
46 define snat_address_dump {
57 define snat_address_details {
71 autoreply define snat_interface_add_del_feature {
83 define snat_interface_dump {
93 define snat_interface_details {
121 u8 local_ip_address[16];
122 u8 external_ip_address[16];
134 define snat_static_mapping_dump {
151 define snat_static_mapping_details {
155 u8 local_ip_address[16];
156 u8 external_ip_address[16];
168 define snat_control_ping
180 define snat_control_ping_reply
192 define snat_show_config
212 define snat_show_config_reply
243 define snat_worker_dump {
254 define snat_worker_details {
267 autoreply define snat_add_del_interface_addr {
279 define snat_interface_addr_dump {
288 define snat_interface_addr_details {
300 autoreply define snat_ipfix_enable_disable {
312 define snat_user_dump {
325 define snat_user_details {
341 define snat_user_session_dump {
362 define snat_user_session_details {
365 u8 outside_ip_address[16];
367 u8 inside_ip_address[16];
386 autoreply define snat_add_det_map {
419 define snat_det_forward_reply {
449 define snat_det_reverse_reply {
460 define snat_det_map_dump {
476 define snat_det_map_details {
496 autoreply define snat_det_set_timeouts {
509 define snat_det_get_timeouts {
522 define snat_det_get_timeouts_reply {
540 autoreply define snat_det_close_session_out {
559 autoreply define snat_det_close_session_in {
575 define snat_det_session_dump {
592 define snat_det_session_details {
612 autoreply define nat64_add_del_pool_addr_range {
625 define nat64_pool_addr_dump {
635 define nat64_pool_addr_details {
660 define nat64_interface_dump {
670 define nat64_interface_details {
687 autoreply define nat64_add_del_static_bib {
704 define nat64_bib_dump {
721 define nat64_bib_details {
742 autoreply define nat64_set_timeouts {
756 define nat64_get_timeouts {
770 define nat64_get_timeouts_reply {
785 define nat64_st_dump {
803 define nat64_st_details {
837 define nat64_prefix_dump {
848 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_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
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_set_workers(uword *bitmap)
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