From 11bfc2f7f3896b7a539f662f1385516e653b3926 Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Fri, 22 Jul 2016 18:19:19 +0800 Subject: HONEYCOMB-83: Add Gre Feature PatchSet 3: use clib_memcpy for copy. PatchSet 2: use clib_memcpy() to copy IP address. PatchSet 1: Support IPv6 interface for GRE API. Change-Id: I80ee4b61df15da7fd851b682a97d5d49f89568b7 Signed-off-by: Hongjun Ni --- vpp/vpp-api/vpe.api | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'vpp/vpp-api/vpe.api') diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api index 2ec4d770..1477289b 100644 --- a/vpp/vpp-api/vpe.api +++ b/vpp/vpp-api/vpe.api @@ -1859,9 +1859,10 @@ define gre_add_del_tunnel { u32 client_index; u32 context; u8 is_add; - u32 src_address; - u32 dst_address; - u32 outer_table_id; + u8 is_ipv6; + u8 src_address[16]; + u8 dst_address[16]; + u32 outer_fib_id; }; define gre_add_del_tunnel_reply { @@ -1879,9 +1880,10 @@ define gre_tunnel_dump { define gre_tunnel_details { u32 context; u32 sw_if_index; - u32 src_address; - u32 dst_address; - u32 outer_table_id; + u8 is_ipv6; + u8 src_address[16]; + u8 dst_address[16]; + u32 outer_fib_id; }; /** \brief L2 interface vlan tag rewrite configure request -- cgit 1.2.3-korg