31 define snat_add_address_range {
35 u8 first_ip_address[16];
36 u8 last_ip_address[16];
45 define snat_add_address_range_reply {
54 define snat_address_dump {
64 define snat_address_details {
77 define snat_interface_add_del_feature {
90 define snat_interface_add_del_feature_reply {
99 define snat_interface_dump {
109 define snat_interface_details {
133 u8 local_ip_address[16];
134 u8 external_ip_address[16];
145 define snat_add_static_mapping_reply {
154 define snat_static_mapping_dump {
169 define snat_static_mapping_details {
173 u8 local_ip_address[16];
174 u8 external_ip_address[16];
184 define snat_control_ping
196 define snat_control_ping_reply
208 define snat_show_config
227 define snat_show_config_reply
258 define snat_set_workers_reply {
267 define snat_worker_dump {
278 define snat_worker_details {
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, int is_add)
Add static mapping.
u8 static_mapping_connection_tracking
static int snat_set_workers(uword *bitmap)