Added room for storing information used by custom third-party dissectors

This commit is contained in:
Luca Deri
2022-05-19 23:24:42 +02:00
parent 8b750686c9
commit 2560260a41
+7
View File
@@ -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