aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/main.h')
-rw-r--r--src/vlib/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h
index 1cf8fe188b1..9e7538e9f00 100644
--- a/src/vlib/main.h
+++ b/src/vlib/main.h
@@ -47,6 +47,7 @@
#include <vppinfra/random_buffer.h>
#include <vppinfra/time.h>
#include <vppinfra/pmc.h>
+#include <vppinfra/pcap.h>
#include <pthread.h>
@@ -130,6 +131,10 @@ typedef struct vlib_main_t
/* Packet trace buffer. */
vlib_trace_main_t trace_main;
+ /* Pcap dispatch trace main */
+ pcap_main_t dispatch_pcap_main;
+ uword dispatch_pcap_enable;
+
/* Error handling. */
vlib_error_main_t error_main;