aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/vxlan
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/vxlan')
-rw-r--r--src/vnet/vxlan/decap.c1
-rw-r--r--src/vnet/vxlan/vxlan.c1
-rw-r--r--src/vnet/vxlan/vxlan.h2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/vxlan/decap.c b/src/vnet/vxlan/decap.c
index e0da9e7af06..e838c038f93 100644
--- a/src/vnet/vxlan/decap.c
+++ b/src/vnet/vxlan/decap.c
@@ -17,6 +17,7 @@
#include <vlib/vlib.h>
#include <vnet/vxlan/vxlan.h>
+#include <vnet/udp/udp_local.h>
#ifndef CLIB_MARCH_VARIANT
vlib_node_registration_t vxlan4_input_node;
diff --git a/src/vnet/vxlan/vxlan.c b/src/vnet/vxlan/vxlan.c
index b1e4aaf291f..742103a7887 100644
--- a/src/vnet/vxlan/vxlan.c
+++ b/src/vnet/vxlan/vxlan.c
@@ -22,6 +22,7 @@
#include <vnet/adj/rewrite.h>
#include <vnet/interface.h>
#include <vnet/flow/flow.h>
+#include <vnet/udp/udp_local.h>
#include <vlib/vlib.h>
/**
diff --git a/src/vnet/vxlan/vxlan.h b/src/vnet/vxlan/vxlan.h
index 772c9d77c93..1c77d77ee51 100644
--- a/src/vnet/vxlan/vxlan.h
+++ b/src/vnet/vxlan/vxlan.h
@@ -29,7 +29,7 @@
#include <vnet/vxlan/vxlan_packet.h>
#include <vnet/ip/ip4_packet.h>
#include <vnet/ip/ip6_packet.h>
-#include <vnet/udp/udp.h>
+#include <vnet/udp/udp_packet.h>
#include <vnet/dpo/dpo.h>
#include <vnet/adj/adj_types.h>