}
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) {
/** \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)
{
* \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)
{
/* 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'. */
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;
/** 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;
*/
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. */