summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gbp')
-rw-r--r--src/plugins/gbp/gbp_itf.c2
-rw-r--r--src/plugins/gbp/gbp_itf.h1
-rw-r--r--src/plugins/gbp/gbp_learn.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/gbp/gbp_itf.c b/src/plugins/gbp/gbp_itf.c
index a9e9225ae72..6a4a19733df 100644
--- a/src/plugins/gbp/gbp_itf.c
+++ b/src/plugins/gbp/gbp_itf.c
@@ -17,6 +17,8 @@
#include <plugins/gbp/gbp_bridge_domain.h>
#include <plugins/gbp/gbp_route_domain.h>
+#include <vnet/ip/ip.h>
+
#define foreach_gbp_itf_mode \
_(L2, "l2") \
_(L3, "L3")
diff --git a/src/plugins/gbp/gbp_itf.h b/src/plugins/gbp/gbp_itf.h
index b0c7ed91865..23a09b2a9ff 100644
--- a/src/plugins/gbp/gbp_itf.h
+++ b/src/plugins/gbp/gbp_itf.h
@@ -18,6 +18,7 @@
#include <vnet/l2/l2_input.h>
#include <vnet/l2/l2_output.h>
+#include <vnet/dpo/dpo.h>
#define foreach_gdb_l3_feature \
diff --git a/src/plugins/gbp/gbp_learn.h b/src/plugins/gbp/gbp_learn.h
index a000905e63a..b4f3ae0a23d 100644
--- a/src/plugins/gbp/gbp_learn.h
+++ b/src/plugins/gbp/gbp_learn.h
@@ -18,6 +18,8 @@
#include <plugins/gbp/gbp.h>
+#include <vnet/util/throttle.h>
+
/**
* The maximum learning rate per-hashed EP
*/