From bb4858cdfe72bad2d2bacdc48fe9b7f633176c25 Mon Sep 17 00:00:00 2001 From: lajoskatona Date: Wed, 8 May 2024 17:02:54 +0200 Subject: 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 Signed-off-by: Nicolas PLANEL --- src/plugins/nsh/nsh.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/nsh/nsh.h') 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 #include #include +#include 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; -- cgit