Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vxlan: convert vxlan to a plugin
[vpp.git]
/
src
/
plugins
/
vxlan
/
decap.c
diff --git
a/src/vnet/vxlan/decap.c
b/src/plugins/vxlan/decap.c
similarity index 99%
rename from
src/vnet/vxlan/decap.c
rename to
src/plugins/vxlan/decap.c
index
729293f
..
f5d1efa
100644
(file)
--- a/
src/vnet/vxlan/decap.c
+++ b/
src/plugins/vxlan/decap.c
@@
-16,12
+16,12
@@
*/
#include <vlib/vlib.h>
*/
#include <vlib/vlib.h>
-#include <v
net/v
xlan/vxlan.h>
+#include <vxlan/vxlan.h>
#include <vnet/udp/udp_local.h>
#ifndef CLIB_MARCH_VARIANT
#include <vnet/udp/udp_local.h>
#ifndef CLIB_MARCH_VARIANT
-vlib_node_registration_t vxlan4_input_node;
-vlib_node_registration_t vxlan6_input_node;
+
__clib_export
vlib_node_registration_t vxlan4_input_node;
+
__clib_export
vlib_node_registration_t vxlan6_input_node;
#endif
typedef struct
#endif
typedef struct
@@
-408,7
+408,7
@@
VLIB_NODE_FN (vxlan6_input_node) (vlib_main_t * vm,
static char *vxlan_error_strings[] = {
#define vxlan_error(n,s) s,
static char *vxlan_error_strings[] = {
#define vxlan_error(n,s) s,
-#include <v
net/v
xlan/vxlan_error.def>
+#include <vxlan/vxlan_error.def>
#undef vxlan_error
};
#undef vxlan_error
};