summaryrefslogtreecommitdiffstats
path: root/src/vnet/srv6/sr.api
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/srv6/sr.api
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/srv6/sr.api')
-rw-r--r--src/vnet/srv6/sr.api6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/srv6/sr.api b/src/vnet/srv6/sr.api
index 27b5ac6f89e..e989ffe2f16 100644
--- a/src/vnet/srv6/sr.api
+++ b/src/vnet/srv6/sr.api
@@ -18,12 +18,12 @@ option version = "1.2.0";
/** \brief SRv6 SID
*/
-typeonly define srv6_sid
+typedef srv6_sid
{
u8 addr[16];
};
-typeonly define srv6_sid_list
+typedef srv6_sid_list
{
u8 num_sids;
u32 weight;
@@ -59,7 +59,7 @@ autoreply define sr_localsid_add_del
u8 nh_addr4[4];
};
-typeonly define sr_ip6_address
+typedef sr_ip6_address
{
u8 data[16];
};