aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorberat <beratiz@gmail.com>2017-05-19 23:26:02 +0200
committerberat <beratiz@gmail.com>2017-05-19 23:26:02 +0200
commit6f27a4872198569d82e49a538c5eeb26e97558c7 (patch)
tree838aacb44fc08a0275def79e67ee24f5cb08e6ea /example/ndpi_util.h
parent185cd4fb30b32a66e766d939bf08dc68c11c8c4f (diff)
Added -b for saving port based diagnose statistics in json
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index 950f65f5a..e8d301acb 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -40,6 +40,9 @@
#define TICK_RESOLUTION 1000
#define MAX_NUM_IP_ADDRESS 5 /* len of ip address array */
#define UPDATED_TREE 1
+#define AGGRESSIVE_PERCENT 95.00
+#define DIR_SRC 10
+#define DIR_DST 20
// flow tracking
typedef struct ndpi_flow_info {