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.
 
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 31 of file detect-file-data.h.

Typedef Documentation

◆ DetectFileHandlerTableElmt

◆ PrefilterMpmFiledata

Function Documentation

◆ DetectEngineInspectFiledata()

◆ DetectFiledataRegister()

◆ DetectFileRegisterFileProtocols()

◆ PrefilterMpmFiledataRegister()

Variable Documentation

◆ filehandler_table

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

Referenced by DetectFiledataRegister(), and DetectFilenameRegister().