DetectEngineMasterCtx_ Struct Reference

#include <detect.h>

Collaboration diagram for DetectEngineMasterCtx_:

Data Fields

SCMutex lock
int multi_tenant_enabled
uint32_t version
enum DetectEngineTenantSelectors tenant_selector
int keyword_id

Detailed Description

Definition at line 1519 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 1535 of file detect.h.

◆ keyword_id

int DetectEngineMasterCtx_::keyword_id

Definition at line 1547 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 1546 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 1530 of file detect.h.

◆ lock

SCMutex DetectEngineMasterCtx_::lock

Definition at line 1520 of file detect.h.

◆ multi_tenant_enabled

int DetectEngineMasterCtx_::multi_tenant_enabled

enable multi tenant mode

Definition at line 1523 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 1541 of file detect.h.

◆ tenant_selector

enum DetectEngineTenantSelectors DetectEngineMasterCtx_::tenant_selector

Definition at line 1535 of file detect.h.

◆ version

uint32_t DetectEngineMasterCtx_::version

version, incremented after each 'apply to threads'

Definition at line 1526 of file detect.h.

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