aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/includes/vpp_plugins
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-plugin/includes/vpp_plugins')
-rw-r--r--hicn-plugin/includes/vpp_plugins/hicn/CMakeLists.txt1
-rw-r--r--hicn-plugin/includes/vpp_plugins/hicn/hicn_api.h3
-rw-r--r--hicn-plugin/includes/vpp_plugins/hicn/hicn_enums.h22
3 files changed, 23 insertions, 3 deletions
diff --git a/hicn-plugin/includes/vpp_plugins/hicn/CMakeLists.txt b/hicn-plugin/includes/vpp_plugins/hicn/CMakeLists.txt
index 9b463e525..d498f5138 100644
--- a/hicn-plugin/includes/vpp_plugins/hicn/CMakeLists.txt
+++ b/hicn-plugin/includes/vpp_plugins/hicn/CMakeLists.txt
@@ -23,6 +23,7 @@ set(HICNPLUGIN_TO_INSTALL_HEADER_FILES
${CMAKE_CURRENT_SOURCE_DIR}/error.h
${CMAKE_CURRENT_SOURCE_DIR}/hicn_all_api_h.h
${CMAKE_CURRENT_SOURCE_DIR}/hicn_api.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/hicn_enums.h
${CMAKE_CURRENT_SOURCE_DIR}/hicn_msg_enum.h ""
CACHE INTERNAL
"" FORCE
diff --git a/hicn-plugin/includes/vpp_plugins/hicn/hicn_api.h b/hicn-plugin/includes/vpp_plugins/hicn/hicn_api.h
index ac45fbf17..31d5e7736 100644
--- a/hicn-plugin/includes/vpp_plugins/hicn/hicn_api.h
+++ b/hicn-plugin/includes/vpp_plugins/hicn/hicn_api.h
@@ -20,9 +20,6 @@
* @file
*/
-#define HICN_STRATEGY_NULL ~0
-#define HICN_FIB_TABLE 10
-
/* define message structures */
#define vl_typedefs
#include <vpp_plugins/hicn/hicn_all_api_h.h>
diff --git a/hicn-plugin/includes/vpp_plugins/hicn/hicn_enums.h b/hicn-plugin/includes/vpp_plugins/hicn/hicn_enums.h
new file mode 100644
index 000000000..8ad2e5d46
--- /dev/null
+++ b/hicn-plugin/includes/vpp_plugins/hicn/hicn_enums.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2021 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 __HICN_ENUMS_H__
+#define __HICN_ENUMS_H__
+
+#define HICN_STRATEGY_NULL ~0
+#define HICN_FIB_TABLE 10
+
+#endif /* // __HICN_ENUMS_H__ */ \ No newline at end of file