suricata
|
#include <detect.h>
Data Fields | |
MpmStore | mpm_store [MPMB_MAX] |
uint8_t * | sig_array |
uint32_t | sig_size |
uint8_t | protos [256] |
uint32_t | direction |
int | score |
uint32_t | max_sig_id |
MpmCtx ** | app_mpms |
MpmCtx ** | pkt_mpms |
MpmCtx ** | frame_mpms |
PrefilterEngineList * | pkt_engines |
PrefilterEngineList * | payload_engines |
PrefilterEngineList * | tx_engines |
PrefilterEngineList * | frame_engines |
SigIntId | sig_cnt |
Signature ** | match_array |
MpmCtx** SigGroupHeadInitData_::app_mpms |
Definition at line 1448 of file detect.h.
Referenced by SigGroupHeadInitDataFree().
uint32_t SigGroupHeadInitData_::direction |
set to SIG_FLAG_TOSERVER, SIG_FLAG_TOCLIENT or both
Definition at line 1444 of file detect.h.
Referenced by SigGroupHeadSetProtoAndDirection().
PrefilterEngineList* SigGroupHeadInitData_::frame_engines |
Definition at line 1455 of file detect.h.
Referenced by PrefilterAppendFrameEngine(), and SigGroupHeadInitDataFree().
MpmCtx** SigGroupHeadInitData_::frame_mpms |
Definition at line 1450 of file detect.h.
Referenced by SigGroupHeadInitDataFree().
Signature** SigGroupHeadInitData_::match_array |
Array with sig ptrs... size is sig_cnt * sizeof(Signature *)
Definition at line 1461 of file detect.h.
Referenced by MpmStorePrepareBuffer(), SigGroupHeadBuildMatchArray(), SigGroupHeadBuildNonPrefilterArray(), SigGroupHeadInitDataFree(), and SigGroupHeadSetupFiles().
uint32_t SigGroupHeadInitData_::max_sig_id |
max signature idx for this sgh
Definition at line 1446 of file detect.h.
Referenced by SigGroupHeadBuildMatchArray(), SigGroupHeadEqual(), and SigGroupHeadSetSigCnt().
PrefilterEngineList* SigGroupHeadInitData_::payload_engines |
Definition at line 1453 of file detect.h.
Referenced by PrefilterAppendPayloadEngine(), PrefilterSetupRuleGroup(), and SigGroupHeadInitDataFree().
PrefilterEngineList* SigGroupHeadInitData_::pkt_engines |
Definition at line 1452 of file detect.h.
Referenced by PrefilterAppendEngine(), PrefilterSetupRuleGroup(), and SigGroupHeadInitDataFree().
MpmCtx** SigGroupHeadInitData_::pkt_mpms |
Definition at line 1449 of file detect.h.
Referenced by SigGroupHeadInitDataFree().
uint8_t SigGroupHeadInitData_::protos[256] |
proto(s) this sgh is for
Definition at line 1443 of file detect.h.
Referenced by SigGroupHeadSetProtoAndDirection().
int SigGroupHeadInitData_::score |
uint8_t* SigGroupHeadInitData_::sig_array |
bit array of sig nums (internal id's)
Definition at line 1440 of file detect.h.
Referenced by SigGroupHeadBuildMatchArray(), SigGroupHeadClearSigs(), SigGroupHeadContainsSigId(), SigGroupHeadEqual(), SigGroupHeadInitDataFree(), SigGroupHeadPrintSigs(), and SigGroupHeadSetSigCnt().
SigIntId SigGroupHeadInitData_::sig_cnt |
number of sigs in this group
Definition at line 1458 of file detect.h.
Referenced by MpmStorePrepareBuffer(), SigGroupHeadBuildMatchArray(), SigGroupHeadBuildNonPrefilterArray(), SigGroupHeadClearSigs(), SigGroupHeadSetSigCnt(), and SigGroupHeadSetupFiles().
uint32_t SigGroupHeadInitData_::sig_size |
size in bytes
Definition at line 1441 of file detect.h.
Referenced by SigGroupHeadClearSigs(), SigGroupHeadEqual(), SigGroupHeadPrintSigs(), and SigGroupHeadSetSigCnt().
PrefilterEngineList* SigGroupHeadInitData_::tx_engines |
Definition at line 1454 of file detect.h.
Referenced by PrefilterAppendTxEngine(), PrefilterSetupRuleGroup(), and SigGroupHeadInitDataFree().