suricata
detect-ttl.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  DetectTtlData_
 

Macros

#define DETECT_TTL_LT   0
 
#define DETECT_TTL_EQ   1
 
#define DETECT_TTL_GT   2
 
#define DETECT_TTL_RA   3
 

Typedefs

typedef struct DetectTtlData_ DetectTtlData
 

Functions

void DetectTtlRegister (void)
 Registration function for ttl: keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ DETECT_TTL_EQ

#define DETECT_TTL_EQ   1

"equals" operator (default)

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

◆ DETECT_TTL_GT

#define DETECT_TTL_GT   2

"greater than" operator

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

◆ DETECT_TTL_LT

#define DETECT_TTL_LT   0

"less than" operator

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

◆ DETECT_TTL_RA

#define DETECT_TTL_RA   3

"range" operator

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

Typedef Documentation

◆ DetectTtlData

typedef struct DetectTtlData_ DetectTtlData

Function Documentation

◆ DetectTtlRegister()

void DetectTtlRegister ( void  )

Registration function for ttl: keyword.

Definition at line 60 of file detect-ttl.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: