diff options
author | 2020-05-19 09:56:22 -0400 | |
---|---|---|
committer | 2020-06-11 14:42:33 +0000 | |
commit | a37c63c6d841168cb59aa428f89a3effc5f9669e (patch) | |
tree | d13b87c951dfbb5d980b573b315ce089a5b81db9 /src/plugins/unittest | |
parent | ecbca13d7eb7f07fa27915ba1decac10fc98c89e (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.c | 2 |
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 = { |