suricata
detect-filesize.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  DetectFilesizeData_
 

Macros

#define DETECT_FILESIZE_LT   0
 
#define DETECT_FILESIZE_GT   1
 
#define DETECT_FILESIZE_RA   2
 
#define DETECT_FILESIZE_EQ   3
 

Typedefs

typedef struct DetectFilesizeData_ DetectFilesizeData
 

Functions

void DetectFilesizeRegister (void)
 Registration function for filesize: keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ DETECT_FILESIZE_EQ

#define DETECT_FILESIZE_EQ   3

equal operator

Definition at line 31 of file detect-filesize.h.

◆ DETECT_FILESIZE_GT

#define DETECT_FILESIZE_GT   1

"greater than" operator

Definition at line 29 of file detect-filesize.h.

◆ DETECT_FILESIZE_LT

#define DETECT_FILESIZE_LT   0

"less than" operator

Definition at line 28 of file detect-filesize.h.

◆ DETECT_FILESIZE_RA

#define DETECT_FILESIZE_RA   2

range operator

Definition at line 30 of file detect-filesize.h.

Typedef Documentation

◆ DetectFilesizeData

Function Documentation

◆ DetectFilesizeRegister()

void DetectFilesizeRegister ( void  )

Registration function for filesize: keyword.

Definition at line 63 of file detect-filesize.c.

References SigTableElmt_::desc, DETECT_FILESIZE, SigTableElmt_::FileMatch, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: