suricata
|
#include "suricata-common.h"
#include "detect-engine-profile.h"
#include "output-json.h"
#include "util-conf.h"
Go to the source code of this file.
Functions | |
void | RulesDumpTxMatchArray (const DetectEngineThreadCtx *det_ctx, const SigGroupHead *sgh, const Packet *p, const uint64_t tx_id, const uint32_t rule_cnt, const uint32_t pkt_prefilter_cnt) |
void | RulesDumpMatchArray (const DetectEngineThreadCtx *det_ctx, const SigGroupHead *sgh, const Packet *p) |
Variables | |
SCMutex | g_rule_dump_write_m = SCMUTEX_INITIALIZER |
Definition in file detect-engine-profile.c.
void RulesDumpMatchArray | ( | const DetectEngineThreadCtx * | det_ctx, |
const SigGroupHead * | sgh, | ||
const Packet * | p | ||
) |
Definition at line 79 of file detect-engine-profile.c.
References Flow_::alproto, AppProtoToString(), ConfigGetLogDirectory(), CreateEveHeader(), Packet_::flow, g_rule_dump_write_m, Signature_::id, SigGroupHead_::id, LOG_DIR_PACKET, DetectEngineThreadCtx_::match_array, DetectEngineThreadCtx_::match_array_cnt, DetectEngineThreadCtx_::non_pf_store_cnt, SCMutexLock, and SCMutexUnlock.
void RulesDumpTxMatchArray | ( | const DetectEngineThreadCtx * | det_ctx, |
const SigGroupHead * | sgh, | ||
const Packet * | p, | ||
const uint64_t | tx_id, | ||
const uint32_t | rule_cnt, | ||
const uint32_t | pkt_prefilter_cnt | ||
) |
Definition at line 34 of file detect-engine-profile.c.
References Flow_::alproto, AppProtoToString(), ConfigGetLogDirectory(), CreateEveHeaderWithTxId(), DetectEngineThreadCtx_::de_ctx, Packet_::flow, g_rule_dump_write_m, Signature_::id, RuleMatchCandidateTx::id, SigGroupHead_::id, LOG_DIR_PACKET, DetectEngineThreadCtx_::non_pf_store_cnt, SCMutexLock, SCMutexUnlock, DetectEngineCtx_::sig_array, SigIntId, and DetectEngineThreadCtx_::tx_candidates.
SCMutex g_rule_dump_write_m = SCMUTEX_INITIALIZER |
Definition at line 32 of file detect-engine-profile.c.
Referenced by RulesDumpMatchArray(), and RulesDumpTxMatchArray().