Added -b for saving port based diagnose statistics in json

This commit is contained in:
berat
2017-05-19 23:26:02 +02:00
parent 185cd4fb30
commit 6f27a48721
2 changed files with 179 additions and 4 deletions
+3
View File
@@ -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 {