aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index bcfc1b5b6..8298e2ef8 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -226,6 +226,13 @@ typedef struct ndpi_flow_info {
struct ndpi_entropy entropy;
struct ndpi_entropy last_entropy;
+
+ /* Payload lenght bins */
+#ifdef DIRECTION_BINS
+ struct ndpi_bin payload_len_bin_src2dst, payload_len_bin_dst2src;
+#else
+ struct ndpi_bin payload_len_bin;
+#endif
} ndpi_flow_info_t;