aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2023-10-03 20:22:31 +0200
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-10-11 15:15:20 +0200
commit4a0eda69ad9755aa6f922a2c786b3bf93c777f77 (patch)
tree863d2782d3315be8f5c90e6dd98a11b9838f93af /src/include/ndpi_typedefs.h
parenta76b9d151f58e000980abffc29b0192b08c5bb4e (diff)
QUIC: export QUIC version as metadata
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r--src/include/ndpi_typedefs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index f3439ad88..5000b0cb9 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1591,6 +1591,8 @@ struct ndpi_flow_struct {
} encrypted_ch;
ndpi_cipher_weakness server_unsafe_cipher;
+
+ u_int32_t quic_version;
} tls_quic; /* Used also by DTLS and POPS/IMAPS/SMTPS/FTPS */
struct {
@@ -1749,8 +1751,8 @@ struct ndpi_flow_struct {
#if !defined(NDPI_CFFI_PREPROCESSING) && defined(__linux__)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
-_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 210,
- "Size of the struct member protocols increased to more than 210 bytes, "
+_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 216,
+ "Size of the struct member protocols increased to more than 216 bytes, "
"please check if this change is necessary.");
_Static_assert(sizeof(struct ndpi_flow_struct) <= 968,
"Size of the flow struct increased to more than 968 bytes, "