summaryrefslogtreecommitdiffstats
path: root/plugins/snat-plugin/snat/snat.api
blob: 0c5f4373f87dbb12fa39decab7b5c0e3be6b5ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
define snat_add_address_range {
  u32 client_index;
  u32 context;
  u8 is_ip4;
  u8 first_ip_address[16];
  u8 last_ip_address[16];
};

define snat_add_address_range_reply {
  u32 context;
  i32 retval;
};

define snat_interface_add_del_feature {
  u32 client_index;
  u32 context;
  u8 is_add;
  u8 is_inside;
  u32 sw_if_index;
};

define snat_interface_add_del_feature_reply {
  u32 context;
  i32 retval;
};