detect: Fix typos/spelling errors.

pull/4568/head
Jeff Lucovsky 7 years ago committed by Victor Julien
parent 8f6e133497
commit 1cddbc085b

@ -1812,7 +1812,7 @@ static int DetectEngineReloadThreads(DetectEngineCtx *new_de_ctx)
}
BUG_ON(i != no_of_detect_tvs);
/* atomicly replace the det_ctx data */
/* atomically replace the det_ctx data */
i = 0;
for (ThreadVars *tv = tv_root[TVT_PPT]; tv != NULL; tv = tv->next) {
if ((tv->tmm_flags & TM_FLAG_DETECT_TM) == 0) {
@ -2096,7 +2096,7 @@ void DetectEngineCtxFree(DetectEngineCtx *de_ctx)
/** \brief Function that load DetectEngineCtx config for grouping sigs
* used by the engine
* \retval 0 if no config provided, 1 if config was provided
* and loaded successfuly
* and loaded successfully
*/
static int DetectEngineCtxLoadConf(DetectEngineCtx *de_ctx)
{
@ -2713,7 +2713,7 @@ static TmEcode ThreadCtxDoInit (DetectEngineCtx *de_ctx, DetectEngineThreadCtx *
* \param data[out] pointer to store our thread detection ctx
*
* \retval TM_ECODE_OK if all went well
* \retval TM_ECODE_FAILED on serious erro
* \retval TM_ECODE_FAILED on serious errors
*/
TmEcode DetectEngineThreadCtxInit(ThreadVars *tv, void *initdata, void **data)
{

@ -334,7 +334,7 @@ struct DetectEngineThreadCtx_;// DetectEngineThreadCtx;
/* inspection buffer is a simple structure that is passed between prefilter,
* transformation functions and inspection functions.
* Initialy setup with 'orig' ptr and len, transformations can then take
* Initially setup with 'orig' ptr and len, transformations can then take
* then and fill the 'buf'. Multiple transformations can update the buffer,
* both growing and shrinking it.
* Prefilter and inspection will only deal with 'inspect'. */
@ -502,7 +502,7 @@ typedef struct SignatureInitData_ {
int transform_cnt;
/** score to influence rule grouping. A higher value leads to a higher
* likelyhood of a rulegroup with this sig ending up as a contained
* likelihood of a rulegroup with this sig ending up as a contained
* group. */
int whitelist;
@ -900,7 +900,7 @@ typedef struct DetectEngineCtx_ {
/** id of loader thread 'owning' this de_ctx */
int loader_id;
/** are we useing just mpm or also other prefilters */
/** are we using just mpm or also other prefilters */
enum DetectEnginePrefilterSetting prefilter_setting;
HashListTable *dport_hash_table;
@ -1002,7 +1002,7 @@ typedef struct RuleMatchCandidateTx {
*/
typedef struct DetectEngineThreadCtx_ {
/** \note multi-tenant hash lookup code from Detect() *depends*
* on this beeing the first member */
* on this being the first member */
uint32_t tenant_id;
/** ticker that is incremented once per packet. */

Loading…
Cancel
Save