diff options
author | Luca Deri <deri@ntop.org> | 2022-05-19 23:24:42 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2022-05-19 23:24:42 +0200 |
commit | 2560260a41172a07b6b272027f441ccda01622a5 (patch) | |
tree | 4c69891852027d7f77a2deb1e6ce1cacf35ac5a1 /src | |
parent | 8b750686c93c14d839c1e988cbc298e9aade1c74 (diff) |
Added room for storing information used by custom third-party dissectors
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |