From 4a0eda69ad9755aa6f922a2c786b3bf93c777f77 Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Tue, 3 Oct 2023 20:22:31 +0200 Subject: QUIC: export QUIC version as metadata --- src/include/ndpi_typedefs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/include/ndpi_typedefs.h') 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, " -- cgit v1.2.3