summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-11-28 11:34:38 +0100
committerFlorin Coras <florin.coras@gmail.com>2018-11-29 07:42:23 +0000
commita173a7a07beef2e7b4f88367061923407a9b63ad (patch)
tree61bb9cad653e1799db5f0260d203f1d374463d5b /src/plugins
parent58914254f0abb0f6c69d866e84915d469d128bd8 (diff)
MAP: Use bool type in map.api instead of u8.
Change-Id: I4e40bb6d6bf274a27892053f37aeeb81a7278965 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/map/map.api10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api
index 5121b2c234f..9918d7210c4 100644
--- a/src/plugins/map/map.api
+++ b/src/plugins/map/map.api
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-option version = "2.1.0";
+option version = "2.2.0";
import "vnet/ip/ip_types.api";
@@ -38,8 +38,8 @@ define map_add_domain
u8 ea_bits_len;
u8 psid_offset;
u8 psid_length;
- u8 is_translation;
- u8 is_rfc6052;
+ bool is_translation;
+ bool is_rfc6052;
u16 mtu;
};
@@ -81,7 +81,7 @@ autoreply define map_add_del_rule
u32 client_index;
u32 context;
u32 index;
- u8 is_add;
+ bool is_add;
vl_api_ip6_address_t ip6_dst;
u16 psid;
};
@@ -108,7 +108,7 @@ define map_domain_details
u8 psid_length;
u8 flags;
u16 mtu;
- u8 is_translation;
+ bool is_translation;
};
define map_rule_dump