uint32_t cnt = 0;
for (el = sgh->init->pkt_engines ; el != NULL; el = el->next) {
cnt++;
- de_ctx->prefilter_maxid = MAX(de_ctx->prefilter_maxid, el->gid);
}
sgh->pkt_engines = SCMallocAligned(cnt * sizeof(PrefilterEngine), CLS);
if (sgh->pkt_engines == NULL) {
uint32_t cnt = 0;
for (el = sgh->init->payload_engines ; el != NULL; el = el->next) {
cnt++;
- de_ctx->prefilter_maxid = MAX(de_ctx->prefilter_maxid, el->gid);
}
sgh->payload_engines = SCMallocAligned(cnt * sizeof(PrefilterEngine), CLS);
if (sgh->payload_engines == NULL) {
uint32_t cnt = 0;
for (el = sgh->init->tx_engines ; el != NULL; el = el->next) {
cnt++;
- de_ctx->prefilter_maxid = MAX(de_ctx->prefilter_maxid, el->gid);
}
sgh->tx_engines = SCMallocAligned(cnt * sizeof(PrefilterEngine), CLS);
if (sgh->tx_engines == NULL) {
uint32_t cnt = 0;
for (el = sgh->init->frame_engines; el != NULL; el = el->next) {
cnt++;
- de_ctx->prefilter_maxid = MAX(de_ctx->prefilter_maxid, el->gid);
}
sgh->frame_engines = SCMallocAligned(cnt * sizeof(PrefilterEngine), CLS);
if (sgh->frame_engines == NULL) {
/* max flowbit id that is used */
uint32_t max_fb_id;
- uint32_t max_fp_id;
-
MpmCtxFactoryContainer *mpm_ctx_factory_container;
/* maximum recursion depth for content inspection */
struct SCProfileSghDetectCtx_ *profile_sgh_ctx;
uint32_t profile_match_logging_threshold;
#endif
- uint32_t prefilter_maxid;
-
char config_prefix[64];
enum DetectEngineType type;