From 7235c9a73a4da26e98a82dc639a4a1c28653ee2a Mon Sep 17 00:00:00 2001 From: berat Date: Fri, 23 Jun 2017 12:14:31 +0200 Subject: Added -x flag. Produces a bpf filter based on diagnose information generated by -b flag --- example/ndpi_util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example/ndpi_util.h') 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 { -- cgit v1.2.3