summaryrefslogtreecommitdiffstats
path: root/src/vnet/pg
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-11-16 17:19:00 -0500
committerFlorin Coras <florin.coras@gmail.com>2018-11-17 18:30:33 +0000
commit3ae2873e568dd441a22903ab9f8c7954835b0bf1 (patch)
tree391c38e64bd9e00154438f465bcb98be0195b6b5 /src/vnet/pg
parent173bae3d178d96cd14e0cc1b191a575c4aaff299 (diff)
pcap-based dispatch tracer
To facilitate dispatch trajectory tracing, vlib_buffer_t decoding, etc. through Wireshark Change-Id: I31356b9fa1f40cba8830aaf10a86a9fbb7546438 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/pg')
-rw-r--r--src/vnet/pg/cli.c2
-rw-r--r--src/vnet/pg/pg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/pg/cli.c b/src/vnet/pg/cli.c
index 13b0e97cf4c..8b543d3ca38 100644
--- a/src/vnet/pg/cli.c
+++ b/src/vnet/pg/cli.c
@@ -43,7 +43,7 @@
#include <vnet/pg/pg.h>
#ifdef CLIB_UNIX
-#include <vnet/unix/pcap.h>
+#include <vppinfra/pcap.h>
#endif
/* Root of all packet generator cli commands. */
diff --git a/src/vnet/pg/pg.h b/src/vnet/pg/pg.h
index ab3ae44aed6..99652b43981 100644
--- a/src/vnet/pg/pg.h
+++ b/src/vnet/pg/pg.h
@@ -43,7 +43,7 @@
#include <vlib/vlib.h> /* for VLIB_N_RX_TX */
#include <vnet/pg/edit.h>
#include <vppinfra/fifo.h> /* for buffer_fifo */
-#include <vnet/unix/pcap.h>
+#include <vppinfra/pcap.h>
#include <vnet/interface.h>
extern vnet_device_class_t pg_dev_class;