diff options
author | Luca <deri@ntop.org> | 2019-09-03 18:38:54 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2019-09-03 18:38:54 +0200 |
commit | 886d5751572ee2d8388714ecc3925bead298aeb6 (patch) | |
tree | 1a44cdae9a0c6455f6d65af5e453f0dbdf0f1740 /example/reader_util.h | |
parent | 2a8f9c3a81d42a1a4ba52f8b2fc5fb0810f5db79 (diff) |
Added -C to generate CSV analysis files
Improved IAT and byte distribution
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/example/reader_util.h b/example/reader_util.h index 8f248a5f0..0d3c2c9d9 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -137,7 +137,7 @@ typedef struct ndpi_flow_info { struct ndpi_flow_struct *ndpi_flow; char src_name[48], dst_name[48]; u_int8_t ip_version; - u_int64_t last_seen; + u_int64_t first_seen, last_seen; u_int64_t src2dst_bytes, dst2src_bytes; u_int32_t src2dst_packets, dst2src_packets; u_int32_t src2dst_opackets, dst2src_opackets; @@ -148,7 +148,8 @@ typedef struct ndpi_flow_info { ndpi_protocol detected_protocol; // Flow data analysis - struct ndpi_analyze_struct *iat_c_to_s, *iat_s_to_c; + struct ndpi_analyze_struct *iat_c_to_s, *iat_s_to_c, *iat_flow, + *pktlen_c_to_s, *pktlen_s_to_c; char info[96]; char host_server_name[256]; @@ -167,7 +168,7 @@ typedef struct ndpi_flow_info { void *src_id, *dst_id; - struct timeval src2dst_last_pkt_time, dst2src_last_pkt_time; + struct timeval src2dst_last_pkt_time, dst2src_last_pkt_time, flow_last_pkt_time; // Entropy fields u_int16_t src2dst_pkt_len[MAX_NUM_PKTS]; /*!< array of packet appdata lengths */ |