From 6011790d79eb9f6ebb2a21972b13bcde347d80b5 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Tue, 27 Aug 2019 10:44:41 +0200 Subject: Entropy calculation example --- example/reader_util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example/reader_util.h') diff --git a/example/reader_util.h b/example/reader_util.h index 62001d527..ce06959c5 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -163,6 +163,10 @@ typedef struct ndpi_flow_info { ndpi_cipher_weakness client_unsafe_cipher, server_unsafe_cipher; } ssh_tls; + struct { + float pktlen_c_to_s, pktlen_s_to_c; + } entropy; + void *src_id, *dst_id; // Entropy fields -- cgit v1.2.3