suricata
detect-rpc.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "decode.h"
#include "detect.h"
#include "detect-rpc.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-siggroup.h"
#include "detect-engine-address.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-debug.h"
#include "util-byte.h"
Include dependency graph for detect-rpc.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^\\s*([0-9]{0,10})\\s*(?:,\\s*([0-9]{0,10}|[*])\\s*(?:,\\s*([0-9]{0,10}|[*]))?)?\\s*$"
 Regex for parsing our rpc options. More...
 
#define MAX_SUBSTRINGS   30
 

Functions

void DetectRpcRegisterTests (void)
 this function registers unit tests for DetectRpc More...
 
void DetectRpcFree (void *ptr)
 this function will free memory associated with DetectRpcData More...
 
void DetectRpcRegister (void)
 Registration function for rpc keyword. More...
 

Detailed Description

Author
Pablo Rincon pablo.nosp@m..rin.nosp@m.con.c.nosp@m.resp.nosp@m.o@gma.nosp@m.il.c.nosp@m.om

Implements RPC keyword

Definition in file detect-rpc.c.

Macro Definition Documentation

#define MAX_SUBSTRINGS   30

Referenced by DetectRpcRegister().

#define PARSE_REGEX   "^\\s*([0-9]{0,10})\\s*(?:,\\s*([0-9]{0,10}|[*])\\s*(?:,\\s*([0-9]{0,10}|[*]))?)?\\s*$"

Regex for parsing our rpc options.

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

Referenced by DetectRpcRegister().

Function Documentation

void DetectRpcRegisterTests ( void  )

this function registers unit tests for DetectRpc

Definition at line 578 of file detect-rpc.c.

References UtRegisterTest().

Referenced by DetectRpcRegister().

Here is the call graph for this function:

Here is the caller graph for this function: