Keep track of how many dissectors calls we made for each flow (#1657)
This commit is contained in:
@@ -203,6 +203,7 @@ typedef struct ndpi_flow_info {
|
||||
// result only, not used for flow identification
|
||||
ndpi_protocol detected_protocol;
|
||||
ndpi_confidence_t confidence;
|
||||
u_int16_t num_dissector_calls;
|
||||
|
||||
// Flow data analysis
|
||||
pkt_timeval src2dst_last_pkt_time, dst2src_last_pkt_time, flow_last_pkt_time;
|
||||
@@ -296,6 +297,7 @@ typedef struct ndpi_stats {
|
||||
u_int16_t max_packet_len;
|
||||
u_int64_t dpi_packet_count[3];
|
||||
u_int64_t flow_confidence[NDPI_CONFIDENCE_MAX];
|
||||
u_int64_t num_dissector_calls;
|
||||
} ndpi_stats_t;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user