diff options
author | Ole Troan <ot@cisco.com> | 2021-09-27 17:11:34 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-09-28 15:17:37 +0000 |
commit | 3459ece6da90627b161e2128b5926f1e58e7db65 (patch) | |
tree | 1416cae6fa48c233cfe1cf7b69d0446fef77aa50 /src/vpp/api/vpe_msg_enum.h | |
parent | 7d0e30bc642f9137188e962f3d1fe38303e674ba (diff) |
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 <ot@cisco.com>
Change-Id: I01dd78eaff1d3715dff17d2643bf0f7f0089935b
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vpp/api/vpe_msg_enum.h')
-rw-r--r-- | src/vpp/api/vpe_msg_enum.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/vpp/api/vpe_msg_enum.h b/src/vpp/api/vpe_msg_enum.h deleted file mode 100644 index 4fcc1c8cd8e..00000000000 --- a/src/vpp/api/vpe_msg_enum.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2015 Cisco and/or its affiliates. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at: - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#ifndef included_vpe_msg_enum_h -#define included_vpe_msg_enum_h - -#include <vppinfra/byte_order.h> - -#define vl_msg_id(n,h) n, -typedef enum -{ - VL_ILLEGAL_MESSAGE_ID = 0, -#include <vpp/api/vpe_all_api_h.h> - VL_MSG_FIRST_AVAILABLE, -} vl_msg_id_t; -#undef vl_msg_id - -#endif /* included_vpe_msg_enum_h */ - -/* - * fd.io coding-style-patch-verification: ON - * - * Local Variables: - * eval: (c-set-style "gnu") - * End: - */ |