suricata
DetectEngineMasterCtx_ Struct Reference

#include <detect.h>

Collaboration diagram for DetectEngineMasterCtx_:

Data Fields

SCMutex lock
 
int multi_tenant_enabled
 
uint32_t version
 
DetectEngineCtxlist
 
DetectEngineCtxfree_list
 
enum DetectEngineTenantSelectors tenant_selector
 
DetectEngineTenantMappingtenant_mapping_list
 
DetectEngineThreadKeywordCtxItemkeyword_list
 
int keyword_id
 

Detailed Description

Definition at line 1425 of file detect.h.

Field Documentation

◆ free_list

DetectEngineCtx* DetectEngineMasterCtx_::free_list

free list, containing detection engines that will be removed but may still be referenced by det_ctx's. Freed as soon as all references are gone.

Definition at line 1441 of file detect.h.

◆ keyword_id

int DetectEngineMasterCtx_::keyword_id

Definition at line 1453 of file detect.h.

◆ keyword_list

DetectEngineThreadKeywordCtxItem* DetectEngineMasterCtx_::keyword_list

list of keywords that need thread local ctxs, only updated by keyword registration at start up. Not covered by the lock.

Definition at line 1452 of file detect.h.

◆ list

DetectEngineCtx* DetectEngineMasterCtx_::list

list of active detection engines. This list is used to generate the threads det_ctx's

Definition at line 1436 of file detect.h.

◆ lock

SCMutex DetectEngineMasterCtx_::lock

Definition at line 1426 of file detect.h.

◆ multi_tenant_enabled

int DetectEngineMasterCtx_::multi_tenant_enabled

enable multi tenant mode

Definition at line 1429 of file detect.h.

◆ tenant_mapping_list

DetectEngineTenantMapping* DetectEngineMasterCtx_::tenant_mapping_list

list of tenant mappings. Updated under lock. Used to generate lookup structures.

Definition at line 1447 of file detect.h.

◆ tenant_selector

enum DetectEngineTenantSelectors DetectEngineMasterCtx_::tenant_selector

Definition at line 1441 of file detect.h.

◆ version

uint32_t DetectEngineMasterCtx_::version

version, incremented after each 'apply to threads'

Definition at line 1432 of file detect.h.


The documentation for this struct was generated from the following file: