diff options
author | Simone Ricci <simonericci12.sr@gmail.com> | 2019-11-26 21:20:22 +0100 |
---|---|---|
committer | Simone Ricci <simonericci12.sr@gmail.com> | 2019-11-26 21:20:22 +0100 |
commit | a65c959940dd57bd71c4870e3c179664ee34a96c (patch) | |
tree | 96f2399c47beb4eb377a8cca68c36115cab189ec /example/reader_util.h | |
parent | e98b994a39ee829058265353473d773642c889cf (diff) |
Fixed intrusion detection
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h index 775e519c1..fce34c7c3 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -32,6 +32,7 @@ #include "uthash.h" #include <pcap.h> #include "ndpi_classify.h" +#include "ndpi_typedefs.h" #ifdef USE_DPDK #include <rte_eal.h> @@ -164,6 +165,15 @@ typedef struct ndpi_flow_info { struct ndpi_flow_struct *ndpi_flow; char src_name[48], dst_name[48]; u_int8_t ip_version; + u_int32_t cwr_count, src2dst_cwr_count, dst2src_cwr_count; + u_int32_t ece_count, src2dst_ece_count, dst2src_ece_count; + u_int32_t urg_count, src2dst_urg_count, dst2src_urg_count; + u_int32_t ack_count, src2dst_ack_count, dst2src_ack_count; + u_int32_t psh_count, src2dst_psh_count, dst2src_psh_count; + u_int32_t syn_count, src2dst_syn_count, dst2src_syn_count; + u_int32_t fin_count, src2dst_fin_count, dst2src_fin_count; + u_int32_t rst_count, src2dst_rst_count, dst2src_rst_count; + u_int32_t c_to_s_init_win, s_to_c_init_win; u_int64_t first_seen, last_seen; u_int64_t src2dst_bytes, dst2src_bytes; u_int64_t src2dst_goodput_bytes, dst2src_goodput_bytes; |