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/plugins/abf/abf.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/plugins/abf/abf.api')
-rw-r--r-- | src/plugins/abf/abf.api | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/abf/abf.api b/src/plugins/abf/abf.api index 03044ad5a6b..72f4b37ce8e 100644 --- a/src/plugins/abf/abf.api +++ b/src/plugins/abf/abf.api @@ -51,7 +51,7 @@ define abf_plugin_get_version_reply @param n_paths Number of paths @param paths The set of forwarding paths that are being added or removed. */ -typeonly define abf_policy +typedef abf_policy { u32 policy_id; u32 acl_index; @@ -96,7 +96,7 @@ define abf_policy_dump on this interface. lower value is 'better' @param is_ipv6 Does this attachment apply to IPv6 packets (or IPv4) */ -typeonly define abf_itf_attach +typedef abf_itf_attach { u32 policy_id; u32 sw_if_index; |