diff options
author | Luca Deri <deri@ntop.org> | 2019-08-27 10:44:41 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-08-27 10:44:41 +0200 |
commit | 6011790d79eb9f6ebb2a21972b13bcde347d80b5 (patch) | |
tree | 669317508a24b242a444ef9e61fdec7ab52273f4 /example/reader_util.h | |
parent | 2acffb41638233f6576663b77bfdd7574014fd1d (diff) |
Entropy calculation example
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |