suricata
|
Go to the source code of this file.
Functions | |
void | SCSigOrderSignatures (DetectEngineCtx *) |
Orders the signatures. More... | |
void | SCSigRegisterSignatureOrderingFuncs (DetectEngineCtx *) |
Lets you register the Signature ordering functions. The order in which the functions are registered shows the priority. The first function registered provides more priority than the function registered after it. To add a new registration function, register it by listing it in the correct position in the below sequence, based on the priority you would want to offer to that keyword. More... | |
void | SCSigRegisterSignatureOrderingTests (void) |
void | SCSigSignatureOrderingModuleCleanup (DetectEngineCtx *) |
De-registers all the signature ordering functions registered. More... | |
Definition in file detect-engine-sigorder.h.
void SCSigOrderSignatures | ( | DetectEngineCtx * | de_ctx | ) |
Orders the signatures.
de_ctx | Pointer to the Detection Engine Context that holds the signatures to be ordered |
Definition at line 760 of file detect-engine-sigorder.c.
References de_ctx, SCLogDebug, and DetectEngineCtx_::sig_list.
Referenced by UTHMatchPackets().
void SCSigRegisterSignatureOrderingFuncs | ( | DetectEngineCtx * | de_ctx | ) |
Lets you register the Signature ordering functions. The order in which the functions are registered shows the priority. The first function registered provides more priority than the function registered after it. To add a new registration function, register it by listing it in the correct position in the below sequence, based on the priority you would want to offer to that keyword.
de_ctx | Pointer to the detection engine context from which the signatures have to be ordered. |
Definition at line 832 of file detect-engine-sigorder.c.
References SCLogDebug.
Referenced by UTHMatchPackets().
void SCSigRegisterSignatureOrderingTests | ( | void | ) |
Definition at line 2000 of file detect-engine-sigorder.c.
References UtRegisterTest().
void SCSigSignatureOrderingModuleCleanup | ( | DetectEngineCtx * | de_ctx | ) |
De-registers all the signature ordering functions registered.
de_ctx | Pointer to the detection engine context from which the signatures were ordered. |
Definition at line 852 of file detect-engine-sigorder.c.
References de_ctx, SCSigOrderFunc_::next, DetectEngineCtx_::sc_sig_order_funcs, and SCFree.
Referenced by DetectEngineCtxFree(), and UTHMatchPackets().