suricata
|
#include <util-mpm.h>
Data Fields | |
const char * | name |
void(* | InitCtx )(struct MpmCtx_ *) |
void(* | InitThreadCtx )(struct MpmCtx_ *, struct MpmThreadCtx_ *) |
void(* | DestroyCtx )(struct MpmCtx_ *) |
void(* | DestroyThreadCtx )(struct MpmCtx_ *, struct MpmThreadCtx_ *) |
int(* | AddPattern )(struct MpmCtx_ *, uint8_t *, uint16_t, uint16_t, uint16_t, uint32_t, SigIntId, uint8_t) |
int(* | AddPatternNocase )(struct MpmCtx_ *, uint8_t *, uint16_t, uint16_t, uint16_t, uint32_t, SigIntId, uint8_t) |
int(* | Prepare )(struct MpmCtx_ *) |
uint32_t(* | Search )(const struct MpmCtx_ *, struct MpmThreadCtx_ *, PrefilterRuleStore *, const uint8_t *, uint32_t) |
void(* | PrintCtx )(struct MpmCtx_ *) |
void(* | PrintThreadCtx )(struct MpmThreadCtx_ *) |
void(* | RegisterUnittests )(void) |
uint8_t | feature_flags |
Definition at line 146 of file util-mpm.h.
int(* MpmTableElmt_::AddPattern) (struct MpmCtx_ *, uint8_t *, uint16_t, uint16_t, uint16_t, uint32_t, SigIntId, uint8_t) |
function pointers for adding patterns to the mpm ctx.
mpm_ctx | Mpm context to add the pattern to |
pattern | pointer to the pattern |
pattern_len | length of the pattern in bytes |
offset | pattern offset setting |
depth | pattern depth setting |
pid | pattern id |
sid | signature internal id |
flags | pattern flags |
Definition at line 164 of file util-mpm.h.
Referenced by MpmACRegister(), MpmACTileRegister(), and MpmAddPatternCS().
int(* MpmTableElmt_::AddPatternNocase) (struct MpmCtx_ *, uint8_t *, uint16_t, uint16_t, uint16_t, uint32_t, SigIntId, uint8_t) |
Definition at line 165 of file util-mpm.h.
Referenced by MpmACRegister(), MpmACTileRegister(), and MpmAddPatternCI().
void(* MpmTableElmt_::DestroyCtx) (struct MpmCtx_ *) |
Definition at line 150 of file util-mpm.h.
Referenced by MpmACRegister(), MpmACTileRegister(), MpmFactoryDeRegisterAllMpmCtxProfiles(), MpmFactoryReClaimMpmCtx(), and PatternMatchDestroy().
void(* MpmTableElmt_::DestroyThreadCtx) (struct MpmCtx_ *, struct MpmThreadCtx_ *) |
Definition at line 151 of file util-mpm.h.
Referenced by MpmDestroyThreadCtx().
uint8_t MpmTableElmt_::feature_flags |
Definition at line 174 of file util-mpm.h.
void(* MpmTableElmt_::InitCtx) (struct MpmCtx_ *) |
Definition at line 148 of file util-mpm.h.
Referenced by MpmACRegister(), MpmACTileRegister(), and MpmInitCtx().
void(* MpmTableElmt_::InitThreadCtx) (struct MpmCtx_ *, struct MpmThreadCtx_ *) |
Definition at line 149 of file util-mpm.h.
Referenced by MpmInitThreadCtx().
const char* MpmTableElmt_::name |
Definition at line 147 of file util-mpm.h.
Referenced by MpmACRegister(), and MpmACTileRegister().
int(* MpmTableElmt_::Prepare) (struct MpmCtx_ *) |
Definition at line 166 of file util-mpm.h.
Referenced by DetectMpmPrepareAppMpms(), DetectMpmPrepareBuiltinMpms(), DetectMpmPrepareFrameMpms(), DetectMpmPreparePktMpms(), MpmACRegister(), and MpmACTileRegister().
void(* MpmTableElmt_::PrintCtx) (struct MpmCtx_ *) |
Definition at line 169 of file util-mpm.h.
Referenced by MpmACRegister(), and MpmACTileRegister().
void(* MpmTableElmt_::PrintThreadCtx) (struct MpmThreadCtx_ *) |
Definition at line 170 of file util-mpm.h.
void(* MpmTableElmt_::RegisterUnittests) (void) |
Definition at line 172 of file util-mpm.h.
Referenced by MpmACRegister(), and MpmACTileRegister().
uint32_t(* MpmTableElmt_::Search) (const struct MpmCtx_ *, struct MpmThreadCtx_ *, PrefilterRuleStore *, const uint8_t *, uint32_t) |
cnt | number of patterns that matches: once per pattern max. |
Definition at line 168 of file util-mpm.h.
Referenced by MpmACRegister(), and MpmACTileRegister().