aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2017-06-23 12:41:04 +0200
committerCampus <campus@ntop.org>2017-06-23 12:41:04 +0200
commit5b8d566a79ebe5b2a74911775ddda6efad4c4757 (patch)
treea729f5c5ed1afe14d1348842e1b81c50feb5bbaf /example/ndpi_util.h
parent8395bdac97f1b2dfa81f8f0bf36febba7ee66d11 (diff)
parent7235c9a73a4da26e98a82dc639a4a1c28653ee2a (diff)
Merge branch 'beratx-dev' into dev
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 6bed00854..0a465a3c0 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -43,6 +43,10 @@
#define AGGRESSIVE_PERCENT 95.00
#define DIR_SRC 10
#define DIR_DST 20
+#define PORT_ARRAY_SIZE 20
+#define FLOWS_PACKETS_TRESHOLD 0.9
+#define FLOWS_PERCENT_TRESHOLD 1.0
+#define INIT_VAL -1
// flow tracking
typedef struct ndpi_flow_info {