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>
diff --git a/src/vnet/lisp-cp/lisp.api b/src/vnet/lisp-cp/lisp.api
index 708510c..604b34d 100644
--- a/src/vnet/lisp-cp/lisp.api
+++ b/src/vnet/lisp-cp/lisp.api
@@ -15,7 +15,7 @@
option version = "1.0.0";
-typeonly manual_print manual_endian define local_locator
+typedef local_locator
{
u32 sw_if_index;
u8 priority;
@@ -307,7 +307,7 @@
u8 mode;
};
-typeonly manual_endian manual_print define remote_locator
+typedef remote_locator
{
u8 is_ip4;
u8 priority;
@@ -559,7 +559,7 @@
@param reid_prefix_len - remote EID IP prefix length
@param leid_prefix_len - local EID IP prefix length
*/
-typeonly manual_print manual_endian define lisp_adjacency
+typedef lisp_adjacency
{
u8 eid_type;
u8 reid[16];