aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-06-07 09:50:41 +0200
committerGitHub <noreply@github.com>2024-06-07 09:50:41 +0200
commit070a0908b30c055bf0590fb0d10557c1acf70401 (patch)
treed13a0ddffabcad6f45e53aa7d4c03adca1e306e6 /src/include
parent619005c5b22f85479201a60002fe92373232f59b (diff)
Zoom: faster detection of P2P flows (#2467)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_private.h2
-rw-r--r--src/include/ndpi_typedefs.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index 341d01900..36af7b277 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -257,6 +257,8 @@ struct ndpi_detection_module_config_struct {
int ookla_aggressiveness;
+ int zoom_max_packets_extra_dissection;
+
NDPI_PROTOCOL_BITMASK debug_bitmask;
NDPI_PROTOCOL_BITMASK ip_list_bitmask;
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 534b804fb..0c51fba1f 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -909,6 +909,9 @@ struct ndpi_flow_udp_struct {
/* NDPI_PROTOCOL_LOLWILDRIFT */
u_int32_t lolwildrift_stage:1;
+ /* NDPI_PROTOCOL_ZOOM */
+ u_int32_t zoom_p2p:1;
+
/* NDPI_PROTOCOL_EPICGAMES */
u_int32_t epicgames_stage:1;
u_int32_t epicgames_word;