aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-10-26 21:40:59 +0100
committerLuca Deri <deri@ntop.org>2020-10-26 21:40:59 +0100
commit948a9060378a2a33f5701947386492ff10cb2de6 (patch)
tree82ad122f24bc6ee7a9f5abea09abf790099091fe /example/reader_util.h
parent9873972acb2be4682434543b051833feff071f6e (diff)
Added -D flag for detecting DoH in the wild
Removed heuristic from CiscoVPN as it leads to false positives
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index 4dba29ddc..7337bb182 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -54,6 +54,11 @@ extern int dpdk_port_init(int port, struct rte_mempool *mbuf_pool);
extern int dpdk_port_deinit(int port);
#endif
+#define PLEN_MAX 1504
+#define PLEN_BIN_LEN 32
+#define PLEN_NUM_BINS 48 /* 47*32 = 1504 */
+#define MAX_NUM_BIN_PKTS 256
+
/* ETTA Spec defiintions for feature readiness */
#define ETTA_MIN_PACKETS 10
#define ETTA_MIN_OCTETS 4000