aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorberat <beratiz@gmail.com>2017-10-09 22:21:40 +0200
committerberat <beratiz@gmail.com>2017-10-09 22:21:40 +0200
commit98d1c762cdcf0f0426de513039d844589d878609 (patch)
tree07e61f1a5b4a2ffe24e5dc8909e8a703f4ccba59 /example/ndpi_util.h
parent2476c3c1b63b87ae85254f717315b9f8a52b4f7e (diff)
extended (-b flag) statistics with top receiver stats
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index eb54ac9fb..51bc09ddb 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -48,7 +48,11 @@
#define HOST_ARRAY_SIZE 20
#define FLOWS_PACKETS_THRESHOLD 0.9
#define FLOWS_PERCENT_THRESHOLD 1.0
+#define FLOWS_PERCENT_THRESHOLD_2 0.2
#define FLOWS_THRESHOLD 1000
+#define PKTS_PERCENT_THRESHOLD 0.1
+#define MAX_TABLE_SIZE_1 4096
+#define MAX_TABLE_SIZE_2 8192
#define INIT_VAL -1
// flow tracking