suricata
|
Go to the source code of this file.
Functions | |
void | SupportFastPatternForSigMatchList (int list_id, int priority) |
Lets one add a sm list id to be searched for potential fp supported keywords later. More... | |
int | FastPatternSupportEnabledForSigMatchList (const DetectEngineCtx *de_ctx, const int list_id) |
Checks if a particular buffer is in the list of lists that need to be searched for a keyword that has fp support. More... | |
void | SupportFastPatternForSigMatchTypes (void) |
Registers the keywords(SMs) that should be given fp support. More... | |
void | DetectEngineRegisterFastPatternForId (DetectEngineCtx *de_ctx, int list_id, int priority) |
void | DetectEngineInitializeFastPatternList (DetectEngineCtx *de_ctx) |
void | DetectEngineFreeFastPatternList (DetectEngineCtx *de_ctx) |
void | DetectFastPatternRegister (void) |
Registration function for fast_pattern keyword. More... | |
Definition in file detect-fast-pattern.h.
void DetectEngineFreeFastPatternList | ( | DetectEngineCtx * | de_ctx | ) |
Definition at line 171 of file detect-fast-pattern.c.
References de_ctx, DetectEngineCtx_::fp_support_smlist_list, next, HtpBodyChunk_::next, and SCFree.
Referenced by DetectEngineCtxFree().
void DetectEngineInitializeFastPatternList | ( | DetectEngineCtx * | de_ctx | ) |
Definition at line 149 of file detect-fast-pattern.c.
void DetectEngineRegisterFastPatternForId | ( | DetectEngineCtx * | de_ctx, |
int | list_id, | ||
int | priority | ||
) |
Definition at line 134 of file detect-fast-pattern.c.
Referenced by DetectAppLayerMpmRegisterByParentId(), DetectEngineFrameMpmRegister(), DetectFrameMpmRegisterByParentId(), and DetectPktMpmRegisterByParentId().
void DetectFastPatternRegister | ( | void | ) |
Registration function for fast_pattern keyword.
Definition at line 184 of file detect-fast-pattern.c.
References SigTableElmt_::desc, DETECT_FAST_PATTERN, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().
int FastPatternSupportEnabledForSigMatchList | ( | const DetectEngineCtx * | de_ctx, |
const int | list_id | ||
) |
Checks if a particular buffer is in the list of lists that need to be searched for a keyword that has fp support.
list_id | The list id. |
1 | If supported. |
0 | If not. |
Definition at line 64 of file detect-fast-pattern.c.
References de_ctx, DETECT_SM_LIST_PMATCH, DetectEngineBufferTypeSupportsMpmGetById(), and DetectEngineCtx_::fp_support_smlist_list.
Referenced by RetrieveFPForSig().
void SupportFastPatternForSigMatchList | ( | int | list_id, |
int | priority | ||
) |
Lets one add a sm list id to be searched for potential fp supported keywords later.
list_id | SM list id. |
priority | Priority for this list. |
Definition at line 129 of file detect-fast-pattern.c.
Referenced by SupportFastPatternForSigMatchTypes().
void SupportFastPatternForSigMatchTypes | ( | void | ) |
Registers the keywords(SMs) that should be given fp support.
Definition at line 142 of file detect-fast-pattern.c.
References DETECT_SM_LIST_PMATCH, and SupportFastPatternForSigMatchList().
Referenced by GlobalsInitPreConfig().