suricata
detect-tos.c File Reference
#include "suricata-common.h"
#include "threads.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "detect-tos.h"
#include "app-layer-protos.h"
#include "flow.h"
#include "flow-var.h"
#include "flow-util.h"
#include "util-byte.h"
#include "util-debug.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
Include dependency graph for detect-tos.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^\\s*(!?\\s*[0-9]{1,3}|!?\\s*[xX][0-9a-fA-F]{1,2})\\s*$"
 
#define DETECT_IPTOS_MIN   0
 
#define DETECT_IPTOS_MAX   255
 

Functions

void DetectTosRegister (void)
 Register Tos keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ DETECT_IPTOS_MAX

#define DETECT_IPTOS_MAX   255

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

◆ DETECT_IPTOS_MIN

#define DETECT_IPTOS_MIN   0

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

◆ PARSE_REGEX

#define PARSE_REGEX   "^\\s*(!?\\s*[0-9]{1,3}|!?\\s*[xX][0-9a-fA-F]{1,2})\\s*$"

Definition at line 47 of file detect-tos.c.

Function Documentation

◆ DetectTosRegister()

void DetectTosRegister ( void  )

Register Tos keyword.

Definition at line 64 of file detect-tos.c.

References SigTableElmt_::desc, DETECT_TOS, SigTableElmt_::Match, SigTableElmt_::name, and sigmatch_table.

Referenced by SigTableSetup().

Here is the caller graph for this function: