suricata
SigGroupHeadInitData_ Struct Reference

#include <detect.h>

Collaboration diagram for SigGroupHeadInitData_:

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
 
PrefilterEngineListpkt_engines
 
PrefilterEngineListpayload_engines
 
PrefilterEngineListtx_engines
 
PrefilterEngineListframe_engines
 
SigIntId sig_cnt
 
Signature ** match_array
 

Detailed Description

Definition at line 1417 of file detect.h.

Field Documentation

◆ app_mpms

MpmCtx** SigGroupHeadInitData_::app_mpms

Definition at line 1428 of file detect.h.

Referenced by SigGroupHeadInitDataFree().

◆ direction

uint32_t SigGroupHeadInitData_::direction

set to SIG_FLAG_TOSERVER, SIG_FLAG_TOCLIENT or both

Definition at line 1424 of file detect.h.

Referenced by SigGroupHeadSetProtoAndDirection().

◆ frame_engines

PrefilterEngineList* SigGroupHeadInitData_::frame_engines

Definition at line 1435 of file detect.h.

Referenced by PrefilterAppendFrameEngine(), and SigGroupHeadInitDataFree().

◆ frame_mpms

MpmCtx** SigGroupHeadInitData_::frame_mpms

Definition at line 1430 of file detect.h.

Referenced by SigGroupHeadInitDataFree().

◆ match_array

Signature** SigGroupHeadInitData_::match_array

Array with sig ptrs... size is sig_cnt * sizeof(Signature *)

Definition at line 1441 of file detect.h.

Referenced by MpmStorePrepareBuffer(), SigGroupHeadBuildMatchArray(), SigGroupHeadBuildNonPrefilterArray(), SigGroupHeadInitDataFree(), and SigGroupHeadSetupFiles().

◆ max_sig_id

uint32_t SigGroupHeadInitData_::max_sig_id

max signature idx for this sgh

Definition at line 1426 of file detect.h.

Referenced by SigGroupHeadBuildMatchArray(), SigGroupHeadEqual(), and SigGroupHeadSetSigCnt().

◆ mpm_store

MpmStore SigGroupHeadInitData_::mpm_store[MPMB_MAX]

Definition at line 1418 of file detect.h.

◆ payload_engines

PrefilterEngineList* SigGroupHeadInitData_::payload_engines

◆ pkt_engines

PrefilterEngineList* SigGroupHeadInitData_::pkt_engines

◆ pkt_mpms

MpmCtx** SigGroupHeadInitData_::pkt_mpms

Definition at line 1429 of file detect.h.

Referenced by SigGroupHeadInitDataFree().

◆ protos

uint8_t SigGroupHeadInitData_::protos[256]

proto(s) this sgh is for

Definition at line 1423 of file detect.h.

Referenced by SigGroupHeadSetProtoAndDirection().

◆ score

int SigGroupHeadInitData_::score

try to make this group a unique one

Definition at line 1425 of file detect.h.

◆ sig_array

uint8_t* SigGroupHeadInitData_::sig_array

◆ sig_cnt

SigIntId SigGroupHeadInitData_::sig_cnt

◆ sig_size

uint32_t SigGroupHeadInitData_::sig_size

size in bytes

Definition at line 1421 of file detect.h.

Referenced by SigGroupHeadClearSigs(), SigGroupHeadEqual(), SigGroupHeadPrintSigs(), and SigGroupHeadSetSigCnt().

◆ tx_engines

PrefilterEngineList* SigGroupHeadInitData_::tx_engines

The documentation for this struct was generated from the following file: