diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-08-07 00:05:59 -0400 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-08-20 13:35:21 +0000 |
commit | e71748291171e53158e2d36d8f413fed1a137013 (patch) | |
tree | 2cd4c20efd3fd75e3e180ae39fd2ab400c406d75 /src/vnet/mpls/mpls.api | |
parent | 630ab5846bceddf8d663e9f488a2dc0378949827 (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/mpls/mpls.api')
-rw-r--r-- | src/vnet/mpls/mpls.api | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/mpls/mpls.api b/src/vnet/mpls/mpls.api index 5d85812807a..2a0c83d4dd5 100644 --- a/src/vnet/mpls/mpls.api +++ b/src/vnet/mpls/mpls.api @@ -40,7 +40,7 @@ autoreply define mpls_ip_bind_unbind vl_api_prefix_t mb_prefix; }; -typeonly define mpls_tunnel +typedef mpls_tunnel { u32 mt_sw_if_index; u32 mt_tunnel_index; @@ -99,7 +99,7 @@ manual_endian manual_print define mpls_tunnel_details is not set by the client, then VPP will generate something meaningfull. */ -typeonly define mpls_table +typedef mpls_table { u32 mt_table_id; u8 mt_name[64]; @@ -137,7 +137,7 @@ define mpls_table_details @param mr_n_paths - The number of paths @param mr_paths - The paths */ -typeonly define mpls_route +typedef mpls_route { u32 mr_table_id; u32 mr_label; |