aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-10-27 13:58:15 +0200
committerGitHub <noreply@github.com>2023-10-27 13:58:15 +0200
commite8e4b9e8fff7a71e2770ff5a38e92506b508c72f (patch)
tree509ec5a182dd3185cf16606859f15cd870461d74 /src/include/ndpi_typedefs.h
parented17f4d65857c0a336c0a4ebe2bc80bb34d2ed3a (diff)
IPv6: add support for IPv6 risk tree (#2118)
Fix the script to download crawler addressess
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r--src/include/ndpi_typedefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 51328943f..5f587e8d2 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -693,6 +693,7 @@ typedef enum {
typedef enum {
NDPI_PTREE_RISK_MASK = 0,
NDPI_PTREE_RISK,
+ NDPI_PTREE_RISK6,
NDPI_PTREE_PROTOCOLS,
NDPI_PTREE_PROTOCOLS6,
@@ -1311,6 +1312,7 @@ struct ndpi_detection_module_struct {
/* Patricia trees */
ndpi_patricia_tree_t *ip_risk_mask_ptree;
ndpi_patricia_tree_t *ip_risk_ptree;
+ ndpi_patricia_tree_t *ip_risk_ptree6;
ndpi_patricia_tree_t *protocols_ptree; /* IP-based protocol detection */
ndpi_patricia_tree_t *protocols_ptree6;