From aa6dcad15e50c0a149b51d2f4ea6fdcd914a09ea Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sat, 21 Jun 2025 12:41:00 +0200 Subject: ndpiReader: print categories summary (#2895) --- example/reader_util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'example/reader_util.h') diff --git a/example/reader_util.h b/example/reader_util.h index b755d3ab6..bbd1ac949 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -378,6 +378,9 @@ typedef struct ndpi_stats { u_int64_t *fpc_protocol_counter; u_int64_t *fpc_protocol_counter_bytes; u_int32_t *fpc_protocol_flows; + u_int64_t category_counter[NDPI_PROTOCOL_NUM_CATEGORIES]; + u_int64_t category_counter_bytes[NDPI_PROTOCOL_NUM_CATEGORIES]; + u_int32_t category_flows[NDPI_PROTOCOL_NUM_CATEGORIES]; u_int32_t ndpi_flow_count; u_int32_t flow_count[3]; u_int64_t tcp_count, udp_count; -- cgit v1.2.3