summaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-05-19 09:56:22 -0400
committerDave Wallace <dwallacelf@gmail.com>2020-06-11 14:39:53 +0000
commited42469be2f1ab0ea7b69fe0770c9c1e6f267e18 (patch)
tree6180d3bb4fffeac68d9dbdc1cf220ddd08667e46 /src/plugins/unittest
parent615ba7af1a76b436502b7756ddf827d9d16f2a1d (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 (cherry picked from commit 2a41919e39d4672f76a654f30be9c2093cef4fad)
Diffstat (limited to 'src/plugins/unittest')
-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 = {