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
 
#define MAX_SUBSTRINGS   30
 

Functions

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

Detailed Description

Macro Definition Documentation

#define DETECT_IPTOS_MAX   255

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

Referenced by DetectTosRegister().

#define DETECT_IPTOS_MIN   0

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

Referenced by DetectTosRegister().

#define MAX_SUBSTRINGS   30

Referenced by DetectTosRegister().

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

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

Referenced by DetectTosRegister().

Function Documentation