Merge pull request #508 from emanuele-f/hyperscan

Initial support for Intel hyperscan pattern matching library
This commit is contained in:
Luca Deri
2018-01-24 18:09:12 +01:00
committed by GitHub
2 changed files with 88 additions and 0 deletions
+5
View File
@@ -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 {