suricata
detect-engine-helper.c File Reference
Include dependency graph for detect-engine-helper.c:

Go to the source code of this file.

Functions

int SCDetectHelperBufferRegister (const char *name, AppProto alproto, uint8_t direction)
 
int SCDetectHelperBufferMpmRegister (const char *name, const char *desc, AppProto alproto, uint8_t direction, InspectionSingleBufferGetDataPtr GetData)
 
int SCDetectHelperMultiBufferProgressMpmRegister (const char *name, const char *desc, AppProto alproto, uint8_t direction, InspectionMultiBufferGetDataPtr GetData, int progress)
 
int SCDetectHelperMultiBufferMpmRegister (const char *name, const char *desc, AppProto alproto, uint8_t direction, InspectionMultiBufferGetDataPtr GetData)
 
int SCDetectHelperNewKeywordId (void)
 
uint16_t SCDetectHelperKeywordRegister (const SCSigTableAppLiteElmt *kw)
 
void SCDetectHelperKeywordAliasRegister (uint16_t kwid, const char *alias)
 
int SCDetectHelperTransformRegister (const SCTransformTableElmt *kw)
 

Detailed Description

Function Documentation

◆ SCDetectHelperBufferMpmRegister()

int SCDetectHelperBufferMpmRegister ( const char *  name,
const char *  desc,
AppProto  alproto,
uint8_t  direction,
InspectionSingleBufferGetDataPtr  GetData 
)

Definition at line 47 of file detect-engine-helper.c.

◆ SCDetectHelperBufferRegister()

int SCDetectHelperBufferRegister ( const char *  name,
AppProto  alproto,
uint8_t  direction 
)

◆ SCDetectHelperKeywordAliasRegister()

void SCDetectHelperKeywordAliasRegister ( uint16_t  kwid,
const char *  alias 
)

Definition at line 124 of file detect-engine-helper.c.

References SigTableElmt_::alias, and sigmatch_table.

◆ SCDetectHelperKeywordRegister()

◆ SCDetectHelperMultiBufferMpmRegister()

int SCDetectHelperMultiBufferMpmRegister ( const char *  name,
const char *  desc,
AppProto  alproto,
uint8_t  direction,
InspectionMultiBufferGetDataPtr  GetData 
)

Definition at line 80 of file detect-engine-helper.c.

◆ SCDetectHelperMultiBufferProgressMpmRegister()

int SCDetectHelperMultiBufferProgressMpmRegister ( const char *  name,
const char *  desc,
AppProto  alproto,
uint8_t  direction,
InspectionMultiBufferGetDataPtr  GetData,
int  progress 
)

Definition at line 66 of file detect-engine-helper.c.

◆ SCDetectHelperNewKeywordId()

int SCDetectHelperNewKeywordId ( void  )

Definition at line 86 of file detect-engine-helper.c.

References DETECT_TBLSIZE, DETECT_TBLSIZE_IDX, DETECT_TBLSIZE_STEP, SCRealloc, sigmatch_table, and unlikely.

Referenced by SCDetectHelperKeywordRegister(), and SCDetectHelperTransformRegister().

Here is the caller graph for this function:

◆ SCDetectHelperTransformRegister()