summaryrefslogtreecommitdiffstats
path: root/src/plugins/l2e
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-06 10:05:29 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-12-06 14:08:52 +0000
commitb2e463a10a6129c22c29f98c6f9b8f53f33cc0cb (patch)
treea2958c40f4ed8fa07bebe455880dd10000ad5490 /src/plugins/l2e
parent6d75c20a6babe71cd1c843dd122d26dd37e0bb33 (diff)
l2e: use explicit api types
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1888a8247ef03cfb715a2c0e0e3ca2a108fecbc8
Diffstat (limited to 'src/plugins/l2e')
-rw-r--r--src/plugins/l2e/l2e.api5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/l2e/l2e.api b/src/plugins/l2e/l2e.api
index dd2eb164380..3b7c9ffe9e6 100644
--- a/src/plugins/l2e/l2e.api
+++ b/src/plugins/l2e/l2e.api
@@ -15,6 +15,7 @@
*/
option version = "1.0.0";
+import "vnet/interface_types.api";
/** \brief L2 emulation at L3
@param client_index - opaque cookie to identify the sender
@@ -26,8 +27,8 @@ autoreply define l2_emulation
{
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 enable;
+ vl_api_interface_index_t sw_if_index;
+ bool enable;
};
/*