diff options
author | Dave Barach <dave@barachs.net> | 2018-11-16 17:19:00 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-11-17 18:30:33 +0000 |
commit | 3ae2873e568dd441a22903ab9f8c7954835b0bf1 (patch) | |
tree | 391c38e64bd9e00154438f465bcb98be0195b6b5 /src/vlib/main.h | |
parent | 173bae3d178d96cd14e0cc1b191a575c4aaff299 (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/vlib/main.h')
-rw-r--r-- | src/vlib/main.h | 5 |
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; |