summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-08-07 00:05:59 -0400
committerOle Trøan <otroan@employees.org>2019-08-20 13:35:21 +0000
commite71748291171e53158e2d36d8f413fed1a137013 (patch)
tree2cd4c20efd3fd75e3e180ae39fd2ab400c406d75 /src/vnet/lisp-gpe
parent630ab5846bceddf8d663e9f488a2dc0378949827 (diff)
vppapigen: remove support for legacy typedefs
vppapigen has remapped legacy to typedefs behind the scenes for some time now. - update .api files to use new style typedefs. - issue error on 'typeonly define' in .api files - remove unneeded macros redefining vl_noop_handler Type: refactor Change-Id: I7a8c4a6dafacee6a131f95cd0e9b03a8c60dea8b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/lisp-gpe')
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe.api6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe.api b/src/vnet/lisp-gpe/lisp_gpe.api
index fbfc5e315a4..8f60b15ad87 100644
--- a/src/vnet/lisp-gpe/lisp_gpe.api
+++ b/src/vnet/lisp-gpe/lisp_gpe.api
@@ -20,7 +20,7 @@ option version = "1.0.0";
@param weight - locator weight
@param addr - IPv4/6 address
*/
-typeonly manual_print manual_endian define gpe_locator
+typedef gpe_locator
{
u8 is_ip4;
u8 weight;
@@ -117,7 +117,7 @@ define gpe_fwd_entries_get
u32 vni;
};
-typeonly manual_print manual_endian define gpe_fwd_entry
+typedef gpe_fwd_entry
{
u32 fwd_entry_index;
u32 dp_table;
@@ -225,7 +225,7 @@ define gpe_native_fwd_rpaths_get
@param nh_sw_if_index - next-hop sw_if_index (~0 if not set)
@param nh_addr - next hop address
*/
-typeonly manual_print manual_endian define gpe_native_fwd_rpath
+typedef gpe_native_fwd_rpath
{
u32 fib_index;
u32 nh_sw_if_index;