From e09ebab0c2faea63be03e58ac4cf512faf965752 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Wed, 24 Jan 2018 16:47:23 +0100 Subject: Initial support for Intel hyperscan pattern matching library. --- src/include/ndpi_typedefs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include/ndpi_typedefs.h') 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 { -- cgit v1.2.3