aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2022-10-04 11:18:09 +0200
committerLuca <deri@ntop.org>2022-10-04 11:26:44 +0200
commitde59eb823724cea1f197f8012f41e6cb159b2a56 (patch)
treefa23cd6bf7b3ec31708d550b5f94db4a643ce539 /example/reader_util.h
parent66a8010ef7337aa734e430c40c690f4470384f62 (diff)
Added the ability to track the payload via -E and via the new option 'ndpi_track_flow_payload'
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index 703e33094..6a9c7cd40 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -300,6 +300,10 @@ typedef struct ndpi_flow_info {
#else
struct ndpi_bin payload_len_bin;
#endif
+
+ /* Flow payload */
+ u_int16_t flow_payload_len;
+ char *flow_payload;
} ndpi_flow_info_t;