From 2560260a41172a07b6b272027f441ccda01622a5 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 19 May 2022 23:24:42 +0200 Subject: Added room for storing information used by custom third-party dissectors --- src/include/ndpi_typedefs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 39c01a3ba..29b5b637f 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1371,6 +1371,13 @@ struct ndpi_flow_struct { /* NDPI_PROTOCOL_TINC */ u_int8_t tinc_state; struct tinc_cache_entry tinc_cache_entry; + + /* + Leave this field below at the end + The field below can be used by third + party dissectors for storing private data + */ + u_int8_t priv_data[16]; }; #define NDPI_PROTOCOL_DEFAULT_LEVEL 0 -- cgit v1.2.3