suricata
detect-urilen.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  DetectUrilenData_
 

Macros

#define DETECT_URILEN_LT   0
 
#define DETECT_URILEN_GT   1
 
#define DETECT_URILEN_RA   2
 
#define DETECT_URILEN_EQ   3
 

Typedefs

typedef struct DetectUrilenData_ DetectUrilenData
 

Functions

bool DetectUrilenValidateContent (const Signature *s, int list, const char **)
 
void DetectUrilenApplyToContent (Signature *s, int list)
 set prefilter dsize pair More...
 
int DetectUrilenMatch (ThreadVars *, DetectEngineThreadCtx *, Flow *, uint8_t, void *, Signature *, SigMatch *)
 
void DetectUrilenRegister (void)
 Registration function for urilen: keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ DETECT_URILEN_EQ

#define DETECT_URILEN_EQ   3

equal operator

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

◆ DETECT_URILEN_GT

#define DETECT_URILEN_GT   1

"greater than" operator

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

◆ DETECT_URILEN_LT

#define DETECT_URILEN_LT   0

"less than" operator

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

◆ DETECT_URILEN_RA

#define DETECT_URILEN_RA   2

range operator

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

Typedef Documentation

◆ DetectUrilenData

Function Documentation

◆ DetectUrilenApplyToContent()

void DetectUrilenApplyToContent ( Signature s,
int  list 
)

set prefilter dsize pair

Parameters
ssignature to get dsize value from

Definition at line 290 of file detect-urilen.c.

◆ DetectUrilenMatch()

int DetectUrilenMatch ( ThreadVars ,
DetectEngineThreadCtx ,
Flow ,
uint8_t  ,
void *  ,
Signature ,
SigMatch  
)

◆ DetectUrilenRegister()

void DetectUrilenRegister ( void  )

Registration function for urilen: keyword.

Definition at line 65 of file detect-urilen.c.

References SigTableElmt_::desc, DETECT_AL_URILEN, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectUrilenValidateContent()

bool DetectUrilenValidateContent ( const Signature s,
int  list,
const char **   
)

Definition at line 343 of file detect-urilen.c.