summaryrefslogtreecommitdiffstats
path: root/src/plugins/af_packet/plugin.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-12-14 13:10:29 +0000
committerDave Wallace <dwallacelf@gmail.com>2022-12-21 18:33:51 +0000
commitbca76580b17bbb6227f48b9ea4a5858802656962 (patch)
treeba8df625df7a4de1ea5fd970493d7cda74deedb7 /src/plugins/af_packet/plugin.c
parentbb98aac4223f506ec18109f9836daa6ef0d61180 (diff)
af_packet: move to plugin
Type: improvement Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I3ec857adb3a9e8a778072a202a4d23f4101e83b2
Diffstat (limited to 'src/plugins/af_packet/plugin.c')
-rw-r--r--src/plugins/af_packet/plugin.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/plugins/af_packet/plugin.c b/src/plugins/af_packet/plugin.c
new file mode 100644
index 00000000000..0146dd3e740
--- /dev/null
+++ b/src/plugins/af_packet/plugin.c
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: Apache-2.0
+ * Copyright (c) 2022 Cisco Systems, Inc.
+ * License: Cisco Proprietary Closed Source License - Cisco Internal.
+ * The software, documentation and any fonts accompanying this License whether
+ * on disk, in read only memory, on any other media or in any other form (col-
+ * lectively the “Software”) are licensed, not sold, to you by Cisco, Inc.
+ * (“Cisco”) for use only under the terms of this License, and Cisco reserves
+ * all rights not expressly granted to you. The rights granted herein are
+ * limited to Cisco’s intel- lectual property rights in the Cisco Software and
+ * do not include any other patents or intellectual property rights. You own
+ * the media on which the Cisco Software is recorded but Cisco and/or Cisco’s
+ * licensor(s) retain ownership of the Software itself.
+ */
+
+#include <vlib/vlib.h>
+#include <vnet/plugin/plugin.h>
+#include <vpp/app/version.h>
+
+VLIB_PLUGIN_REGISTER () = {
+ .version = VPP_BUILD_VER,
+ .description = "af-packet",
+};