suricata
detect-file-data.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectFileHandlerTableElmt_
 
struct  PrefilterMpmFiledata
 

Macros

#define MAX_DETECT_ALPROTO_CNT   10
 

Typedefs

typedef struct DetectFileHandlerTableElmt_ DetectFileHandlerTableElmt
 
typedef struct PrefilterMpmFiledata PrefilterMpmFiledata
 

Functions

void DetectFiledataRegister (void)
 Registration function for keyword: file_data. More...
 
void DetectFileRegisterFileProtocols (DetectFileHandlerTableElmt *entry)
 
uint8_t DetectEngineInspectFiledata (DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const DetectEngineAppInspectionEngine *engine, const Signature *s, Flow *f, uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
 
int PrefilterMpmFiledataRegister (DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx, const DetectBufferMpmRegistry *mpm_reg, int list_id)
 

Variables

DetectFileHandlerTableElmt filehandler_table [DETECT_TBLSIZE_STATIC]
 

Detailed Description

Macro Definition Documentation

◆ MAX_DETECT_ALPROTO_CNT

#define MAX_DETECT_ALPROTO_CNT   10

Definition at line 32 of file detect-file-data.h.

Typedef Documentation

◆ DetectFileHandlerTableElmt

◆ PrefilterMpmFiledata

Function Documentation

◆ DetectEngineInspectFiledata()

◆ DetectFiledataRegister()

void DetectFiledataRegister ( void  )

Registration function for keyword: file_data.

Definition at line 148 of file detect-file-data.c.

References SigTableElmt_::alias, SigTableElmt_::desc, DETECT_FILE_DATA, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectFileRegisterFileProtocols()

◆ PrefilterMpmFiledataRegister()

int PrefilterMpmFiledataRegister ( DetectEngineCtx de_ctx,
SigGroupHead sgh,
MpmCtx mpm_ctx,
const DetectBufferMpmRegistry mpm_reg,
int  list_id 
)

Variable Documentation

◆ filehandler_table

Definition at line 78 of file detect-file-data.c.