suricata
detect-target.c File Reference
#include "suricata-common.h"
#include "util-unittest.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-target.h"
Include dependency graph for detect-target.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^\\s*(src_ip|dest_ip)\\s*$"
 Regex for parsing our keyword options. More...
 
#define MAX_SUBSTRINGS   30
 

Functions

void DetectTargetRegister (void)
 Registration function for target keyword. More...
 

Detailed Description

Author
Eric Leblond eric@.nosp@m.regi.nosp@m.t.org

target keyword allow rules writer to specify information about target of the attack

Definition in file detect-target.c.

Macro Definition Documentation

#define MAX_SUBSTRINGS   30

Referenced by DetectTargetRegister().

#define PARSE_REGEX   "^\\s*(src_ip|dest_ip)\\s*$"

Regex for parsing our keyword options.

Definition at line 37 of file detect-target.c.

Referenced by DetectTargetRegister().

Function Documentation