Added priv_data

Cherry pick of https://github.com/ntop/nDPI/commit/2560260a41172a07b6b272027f441ccda01622a5
This commit is contained in:
Luca Deri
2022-05-20 11:56:22 +02:00
committed by GitHub
parent 51b4f5502f
commit 5f05054c8a
+7
View File
@@ -1352,6 +1352,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