aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-10-10 13:33:43 +0200
committerOle Trøan <otroan@employees.org>2019-10-17 14:18:06 +0000
commit54f89e55d05b2079cf53818191e842f896ac3b65 (patch)
treeb65add8a856fb3ba680b55f6a67843ef2efd5216 /src/vnet
parent8161d73d7eb292ce8d6212b3a1575eed12dfeee2 (diff)
ip: rd_cp API cleanup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I1cc42b57fbf72e2ced8b5d1283c34de2f7ff948a
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ip/rd_cp.api10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/vnet/ip/rd_cp.api b/src/vnet/ip/rd_cp.api
index 9a3cdea43ca..58480789d16 100644
--- a/src/vnet/ip/rd_cp.api
+++ b/src/vnet/ip/rd_cp.api
@@ -13,7 +13,9 @@
* limitations under the License.
*/
-option version = "1.0.0";
+option version = "1.0.1";
+
+import "vnet/interface_types.api";
/** \brief Enable/disable IPv6 ND address autoconfiguration
and setting up default routes
@@ -30,9 +32,9 @@ autoreply define ip6_nd_address_autoconfig
{
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 enable;
- u8 install_default_routes;
+ vl_api_interface_index_t sw_if_index;
+ bool enable;
+ bool install_default_routes;
};
/*