summaryrefslogtreecommitdiffstats
path: root/src/plugins/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lisp')
-rw-r--r--src/plugins/lisp/lisp-gpe/interface.c2
-rw-r--r--src/plugins/lisp/lisp-gpe/lisp_gpe.h3
-rw-r--r--src/plugins/lisp/lisp-gpe/lisp_gpe_adjacency.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/lisp/lisp-gpe/interface.c b/src/plugins/lisp/lisp-gpe/interface.c
index 0d5f689fe7b..1d2abaf3f90 100644
--- a/src/plugins/lisp/lisp-gpe/interface.c
+++ b/src/plugins/lisp/lisp-gpe/interface.c
@@ -23,7 +23,7 @@
#include <vppinfra/hash.h>
#include <vnet/vnet.h>
#include <vnet/ip/ip.h>
-#include <vnet/udp/udp.h>
+#include <vnet/udp/udp_inlines.h>
#include <vnet/ethernet/ethernet.h>
#include <lisp/lisp-gpe/lisp_gpe.h>
#include <lisp/lisp-gpe/lisp_gpe_fwd_entry.h>
diff --git a/src/plugins/lisp/lisp-gpe/lisp_gpe.h b/src/plugins/lisp/lisp-gpe/lisp_gpe.h
index aa2e7d1bfbf..10dc4fe7aa7 100644
--- a/src/plugins/lisp/lisp-gpe/lisp_gpe.h
+++ b/src/plugins/lisp/lisp-gpe/lisp_gpe.h
@@ -27,7 +27,8 @@
#include <vnet/l2/l2_input.h>
#include <vnet/ethernet/ethernet.h>
#include <vnet/ip/ip4_packet.h>
-#include <vnet/udp/udp.h>
+#include <vnet/udp/udp_packet.h>
+#include <vnet/udp/udp_local.h>
#include <lisp/lisp-cp/lisp_types.h>
#include <lisp/lisp-gpe/lisp_gpe_packet.h>
#include <vnet/adj/adj_types.h>
diff --git a/src/plugins/lisp/lisp-gpe/lisp_gpe_adjacency.c b/src/plugins/lisp/lisp-gpe/lisp_gpe_adjacency.c
index eab10f4d2d5..d93f3abaad2 100644
--- a/src/plugins/lisp/lisp-gpe/lisp_gpe_adjacency.c
+++ b/src/plugins/lisp/lisp-gpe/lisp_gpe_adjacency.c
@@ -26,6 +26,7 @@
#include <lisp/lisp-gpe/lisp_gpe_tunnel.h>
#include <vnet/fib/fib_entry.h>
#include <vnet/adj/adj_midchain.h>
+#include <vnet/udp/udp_inlines.h>
#include <vppinfra/bihash_24_8.h>
#include <vppinfra/bihash_template.h>