summaryrefslogtreecommitdiffstats
path: root/src/plugins/l3xc
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-08 16:09:47 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-12-09 12:43:37 +0000
commit60f5108a99cca759668aa8efbac11dcd17cba983 (patch)
tree704b3c6ff94fdb09c1dc242fea14f0d07d505847 /src/plugins/l3xc
parenta633a4318bea2f9edcb80d9685b0f811cac679ea (diff)
l3xc: use explicit types in api
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ia94eab60689a07de522b8106dd48ff6b669bc770
Diffstat (limited to 'src/plugins/l3xc')
-rw-r--r--src/plugins/l3xc/l3xc.api13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/plugins/l3xc/l3xc.api b/src/plugins/l3xc/l3xc.api
index 8e37674e964..369108c0bd7 100644
--- a/src/plugins/l3xc/l3xc.api
+++ b/src/plugins/l3xc/l3xc.api
@@ -19,9 +19,10 @@
used to control the L3XC plugin
*/
-option version = "1.0.0";
+option version = "1.0.1";
import "vnet/fib/fib_types.api";
+import "vnet/interface_types.api";
/** \brief Get the plugin version
@param client_index - opaque cookie to identify the sender
@@ -52,8 +53,8 @@ define l3xc_plugin_get_version_reply
*/
typedef l3xc
{
- u32 sw_if_index;
- u8 is_ip6;
+ vl_api_interface_index_t sw_if_index;
+ bool is_ip6;
u8 n_paths;
vl_api_fib_path_t paths[n_paths];
};
@@ -76,8 +77,8 @@ autoreply define l3xc_del
{
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 is_ip6;
+ vl_api_interface_index_t sw_if_index;
+ bool is_ip6;
};
/** \brief Dump all L3XC policies
@@ -86,7 +87,7 @@ define l3xc_dump
{
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
/** \brief description returned in the dump