From 3459ece6da90627b161e2128b5926f1e58e7db65 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Mon, 27 Sep 2021 17:11:34 +0200 Subject: misc: vpe.api messages dynamically allocated This is the last in the series of moving API messages from vpp/api/vpe.api to vlibmemory/memclnt.api. This patch makes the remaining vpe.api messages dynamic, to help VAT2 binary-api command. Moves the VAT test code to a separate file and removes the now unnused API meta files. Type: improvement Signed-off-by: Ole Troan Change-Id: I01dd78eaff1d3715dff17d2643bf0f7f0089935b Signed-off-by: Ole Troan --- src/plugins/vrrp/vrrp_all_api_h.h | 11 ----------- src/plugins/vrrp/vrrp_msg_enum.h | 23 ----------------------- 2 files changed, 34 deletions(-) delete mode 100644 src/plugins/vrrp/vrrp_all_api_h.h delete mode 100644 src/plugins/vrrp/vrrp_msg_enum.h (limited to 'src/plugins/vrrp') diff --git a/src/plugins/vrrp/vrrp_all_api_h.h b/src/plugins/vrrp/vrrp_all_api_h.h deleted file mode 100644 index 4f45909de70..00000000000 --- a/src/plugins/vrrp/vrrp_all_api_h.h +++ /dev/null @@ -1,11 +0,0 @@ - -/* - * vrrp_all_api_h.h - vrrp plug-in api #include file - * - * Copyright 2019-2020 Rubicon Communications, LLC (Netgate) - * - * SPDX-License-Identifier: Apache-2.0 - * - */ -/* Include the generated file, see BUILT_SOURCES in Makefile.am */ -#include diff --git a/src/plugins/vrrp/vrrp_msg_enum.h b/src/plugins/vrrp/vrrp_msg_enum.h deleted file mode 100644 index 48ae619205a..00000000000 --- a/src/plugins/vrrp/vrrp_msg_enum.h +++ /dev/null @@ -1,23 +0,0 @@ - -/* - * vrrp_msg_enum.h - vrrp plug-in message enumeration - * - * Copyright 2019-2020 Rubicon Communications, LLC (Netgate) - * - * SPDX-License-Identifier: Apache-2.0 - * - */ -#ifndef included_vrrp_msg_enum_h -#define included_vrrp_msg_enum_h - -#include - -#define vl_msg_id(n,h) n, -typedef enum { -#include - /* We'll want to know how many messages IDs we need... */ - VL_MSG_FIRST_AVAILABLE, -} vl_msg_id_t; -#undef vl_msg_id - -#endif /* included_vrrp_msg_enum_h */ -- cgit 1.2.3-korg