diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2019-12-09 00:01:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-09 00:01:09 +0100 |
commit | 558983c99c274c122f0deb6f2e29d5eb0594a373 (patch) | |
tree | 154ac419d9f7b9b9199de0a92c979fae9fbb893d /example/reader_util.h | |
parent | c8d6f2845fbb33a681a45a4ae46debf1da411c8a (diff) | |
parent | a65c959940dd57bd71c4870e3c179664ee34a96c (diff) |
Merge pull request #813 from SimoneRicci97/dev
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 99f8c5ada..c420ca211 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; |