summaryrefslogtreecommitdiffstats
path: root/src/vnet/gre
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/gre')
-rw-r--r--src/vnet/gre/gre.api11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/vnet/gre/gre.api b/src/vnet/gre/gre.api
index 841099c68cc..cb0bb736c4f 100644
--- a/src/vnet/gre/gre.api
+++ b/src/vnet/gre/gre.api
@@ -16,6 +16,7 @@
option version = "2.0.0";
+import "vnet/interface_types.api";
import "vnet/ip/ip_types.api";
/** \brief A GRE tunnel type
@@ -42,13 +43,11 @@ typedef gre_tunnel
{
u32 client_index;
u32 context;
- u8 is_add;
- u8 is_ipv6;
u16 session_id;
vl_api_gre_tunnel_type_t type;
u32 instance;
u32 outer_fib_id;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
vl_api_address_t src;
vl_api_address_t dst;
};
@@ -57,7 +56,7 @@ define gre_tunnel_add_del
{
u32 client_index;
u32 context;
- u8 is_add;
+ bool is_add;
vl_api_gre_tunnel_t tunnel;
};
@@ -65,14 +64,14 @@ define gre_tunnel_add_del_reply
{
u32 context;
i32 retval;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
define gre_tunnel_dump
{
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
define gre_tunnel_details