aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-10-19 19:44:00 +0200
committerGitHub <noreply@github.com>2024-10-19 19:44:00 +0200
commit51556113a3bf6ef58a7a2744678da7b2d20e2888 (patch)
tree99210abb5677d18602798b5897d703db27164a7d /example/reader_util.h
parent6dc4533c3cc0786c740f91cedab74e54623349b2 (diff)
ndpiReader: add some statistics about monitoring (#2602)
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index 4b9d90beb..5c4acbb90 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -217,6 +217,8 @@ typedef struct ndpi_flow_info {
struct ndpi_fpc_info fpc;
u_int16_t num_dissector_calls;
u_int16_t dpi_packets;
+ u_int8_t monitoring_state;
+ u_int16_t num_packets_before_monitoring;
// Flow data analysis
pkt_timeval src2dst_last_pkt_time, dst2src_last_pkt_time, flow_last_pkt_time;