summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp.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/plugins/gbp/gbp.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/plugins/gbp/gbp.api')
-rw-r--r--src/plugins/gbp/gbp.api8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/gbp/gbp.api b/src/plugins/gbp/gbp.api
index 99be9c4f777..60c996583b6 100644
--- a/src/plugins/gbp/gbp.api
+++ b/src/plugins/gbp/gbp.api
@@ -167,7 +167,7 @@ typedef gbp_endpoint_retention
u32 remote_ep_timeout;
};
-typeonly define gbp_endpoint_group
+typedef gbp_endpoint_group
{
u32 vnid;
u16 sclass;
@@ -202,7 +202,7 @@ define gbp_endpoint_group_details
vl_api_gbp_endpoint_group_t epg;
};
-typeonly define gbp_recirc
+typedef gbp_recirc
{
u32 sw_if_index;
u16 sclass;
@@ -238,7 +238,7 @@ enum gbp_subnet_type
GBP_API_SUBNET_ANON_L3_OUT,
};
-typeonly define gbp_subnet
+typedef gbp_subnet
{
u32 rd_id;
u32 sw_if_index;
@@ -399,7 +399,7 @@ enum gbp_ext_itf_flags
GBP_API_EXT_ITF_F_ANON = 1,
};
-typeonly define gbp_ext_itf
+typedef gbp_ext_itf
{
u32 sw_if_index;
u32 bd_id;