aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2018-01-24 18:09:12 +0100
committerGitHub <noreply@github.com>2018-01-24 18:09:12 +0100
commit54306411a4e4adf7d56c29b136e2f9fb13efee7d (patch)
treec537e4c09b7f35d6897de9bad2b17185d5aa16e4 /src/include/ndpi_typedefs.h
parentf2280c90a44bcb44a07b6b6dff8e21e6eab3adfe (diff)
parente09ebab0c2faea63be03e58ac4cf512faf965752 (diff)
Merge pull request #508 from emanuele-f/hyperscan
Initial support for Intel hyperscan pattern matching library
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r--src/include/ndpi_typedefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 052cdce0f..739d82294 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -937,6 +937,11 @@ struct ndpi_detection_module_struct {
u_int8_t http_dont_dissect_response:1, dns_dissect_response:1,
direction_detect_disable:1; /* disable internal detection of packet direction */
+
+#ifdef HAVE_HYPERSCAN
+ hs_database_t *hs_database;
+ hs_scratch_t *hs_scratch;
+#endif
};
struct ndpi_flow_struct {