summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-05-19 09:56:22 -0400
committerFlorin Coras <florin.coras@gmail.com>2020-05-19 20:50:41 +0000
commit2a41919e39d4672f76a654f30be9c2093cef4fad (patch)
tree470efa7e8c5b69871c4536439a64701077649917 /src/plugins
parent827b929301ba3c8ac3a3d23262b0987a5fc33632 (diff)
vppinfra: refactor mpcap.h
vppinfra source files MUST NOT #include <vlib/vlib.h>, <vnet/vnet.h> or similar. Move mpcap_add_packet(...), mpcap_add_buffer(...) to a new file: src/vnet/mpcap.h. Type: refactor Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Id517aef6fe49b618f853ce32940b91ba45a1e60d
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/unittest/mpcap_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/mpcap_node.c b/src/plugins/unittest/mpcap_node.c
index 8c0bc8677be..f3c24843d82 100644
--- a/src/plugins/unittest/mpcap_node.c
+++ b/src/plugins/unittest/mpcap_node.c
@@ -18,7 +18,7 @@
#include <vnet/vnet.h>
#include <vnet/pg/pg.h>
#include <vppinfra/error.h>
-#include <vppinfra/mpcap.h>
+#include <vnet/mpcap.h>
#include <vnet/ethernet/ethernet.h>
static mpcap_main_t test_mpcap_main = {