suricata
detect-iprep.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "threads.h"
#include "flow.h"
#include "flow-bit.h"
#include "flow-util.h"
#include "detect-iprep.h"
#include "util-spm.h"
#include "app-layer-parser.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "util-debug.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-fmemopen.h"
#include "reputation.h"
#include "host.h"
Include dependency graph for detect-iprep.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "\\s*(any|src|dst|both)\\s*,\\s*([A-Za-z0-9\\-\\_]+)\\s*,\\s*(\<|\>|\\=)\\s*,\\s*([0-9]+)\\s*"
 
#define MAX_SUBSTRINGS   30
 

Functions

void DetectIPRepFree (void *)
 
void IPRepRegisterTests (void)
 this function registers unit tests for IPRep More...
 
void DetectIPRepRegister (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implements the iprep keyword

Definition in file detect-iprep.c.

Macro Definition Documentation

#define MAX_SUBSTRINGS   30

Referenced by DetectIPRepRegister().

#define PARSE_REGEX   "\\s*(any|src|dst|both)\\s*,\\s*([A-Za-z0-9\\-\\_]+)\\s*,\\s*(\<|\>|\\=)\\s*,\\s*([0-9]+)\\s*"

Definition at line 51 of file detect-iprep.c.

Referenced by DetectIPRepRegister().

Function Documentation

void IPRepRegisterTests ( void  )

this function registers unit tests for IPRep

Definition at line 1006 of file detect-iprep.c.

References UtRegisterTest().

Referenced by DetectIPRepRegister().

Here is the call graph for this function:

Here is the caller graph for this function: