diff options
author | emanuele-f <black.silver@hotmail.it> | 2018-01-24 16:47:23 +0100 |
---|---|---|
committer | emanuele-f <black.silver@hotmail.it> | 2018-01-24 16:47:23 +0100 |
commit | e09ebab0c2faea63be03e58ac4cf512faf965752 (patch) | |
tree | 696413fc59c86b2b14a279bad635a5ab58391049 /src/include/ndpi_typedefs.h | |
parent | d18824a73fa7f05122bc35000a8a1b538c62fc58 (diff) |
Initial support for Intel hyperscan pattern matching library.
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r-- | src/include/ndpi_typedefs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 15b629068..3e4fcabad 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 { |