aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nsh/nsh.h
diff options
context:
space:
mode:
authorlajoskatona <katonalala@gmail.com>2024-05-08 17:02:54 +0200
committerBenoit Ganne <bganne@cisco.com>2025-02-25 08:23:39 +0000
commitbb4858cdfe72bad2d2bacdc48fe9b7f633176c25 (patch)
tree63eb9c6ffc6fe738335267a238d3cf1f85430af6 /src/plugins/nsh/nsh.h
parentd6d44bd4735c23c8ce2ed314551a20a044199412 (diff)
vxlan: move vxlan-gpe to a plugin
Move vxlan-gpe folder under vnet to the plugin folder, update cmake configuration and header paths, and add plugin.c to register plugin. JIRA: VPP-2059 Type: improvement Change-Id: I31b6d326276c4aa684fcdcf8443ef349f7816a6d Signed-off-by: lajoskatona <katonalala@gmail.com> Signed-off-by: Nicolas PLANEL <nplanel@cisco.com>
Diffstat (limited to 'src/plugins/nsh/nsh.h')
-rw-r--r--src/plugins/nsh/nsh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/nsh/nsh.h b/src/plugins/nsh/nsh.h
index 86a9a7e95c3..c408ddb99a2 100644
--- a/src/plugins/nsh/nsh.h
+++ b/src/plugins/nsh/nsh.h
@@ -18,6 +18,7 @@
#include <vnet/vnet.h>
#include <nsh/nsh_packet.h>
#include <vnet/ip/ip4_packet.h>
+#include <plugins/vxlan-gpe/vxlan_gpe.h>
typedef struct {
u16 class;
@@ -166,6 +167,10 @@ typedef struct {
/* convenience */
vlib_main_t * vlib_main;
vnet_main_t * vnet_main;
+
+ /* vxlan gpe plugin */
+ vxlan_gpe_main_t *vgm;
+
} nsh_main_t;
extern nsh_main_t nsh_main;