suricata
detect-stream_size.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  DetectStreamSizeData_
 

Macros

#define DETECTSSIZE_LT   0
 
#define DETECTSSIZE_LEQ   1
 
#define DETECTSSIZE_EQ   2
 
#define DETECTSSIZE_NEQ   3
 
#define DETECTSSIZE_GT   4
 
#define DETECTSSIZE_GEQ   5
 
#define STREAM_SIZE_SERVER   0x01
 
#define STREAM_SIZE_CLIENT   0x02
 
#define STREAM_SIZE_BOTH   0x04
 
#define STREAM_SIZE_EITHER   0x08
 

Typedefs

typedef struct DetectStreamSizeData_ DetectStreamSizeData
 

Functions

void DetectStreamSizeRegister (void)
 Registration function for stream_size: keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ DETECTSSIZE_EQ

#define DETECTSSIZE_EQ   2

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

◆ DETECTSSIZE_GEQ

#define DETECTSSIZE_GEQ   5

Definition at line 33 of file detect-stream_size.h.

◆ DETECTSSIZE_GT

#define DETECTSSIZE_GT   4

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

◆ DETECTSSIZE_LEQ

#define DETECTSSIZE_LEQ   1

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

◆ DETECTSSIZE_LT

#define DETECTSSIZE_LT   0

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

◆ DETECTSSIZE_NEQ

#define DETECTSSIZE_NEQ   3

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

◆ STREAM_SIZE_BOTH

#define STREAM_SIZE_BOTH   0x04

Definition at line 37 of file detect-stream_size.h.

◆ STREAM_SIZE_CLIENT

#define STREAM_SIZE_CLIENT   0x02

Definition at line 36 of file detect-stream_size.h.

◆ STREAM_SIZE_EITHER

#define STREAM_SIZE_EITHER   0x08

Definition at line 38 of file detect-stream_size.h.

◆ STREAM_SIZE_SERVER

#define STREAM_SIZE_SERVER   0x01

Definition at line 35 of file detect-stream_size.h.

Typedef Documentation

◆ DetectStreamSizeData

Function Documentation

◆ DetectStreamSizeRegister()

void DetectStreamSizeRegister ( void  )

Registration function for stream_size: keyword.

Definition at line 59 of file detect-stream_size.c.

References SigTableElmt_::desc, DETECT_STREAM_SIZE, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: