suricata
detect-ipaddr.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "conf.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-prefilter.h"
#include "detect-ipaddr.h"
#include "tests/detect-ipaddr.c"
Include dependency graph for detect-ipaddr.c:

Go to the source code of this file.

Macros

#define KEYWORD_NAME_SRC   "ip.src"
 
#define KEYWORD_NAME_DST   "ip.dst"
 

Functions

void DetectIPAddrBufferRegister (void)
 

Detailed Description

Author
Eric Leblond el@st.nosp@m.amus.nosp@m.-netw.nosp@m.orks.nosp@m..com

Offer source or destination IP as a sticky buffer.

Definition in file detect-ipaddr.c.

Macro Definition Documentation

◆ KEYWORD_NAME_DST

#define KEYWORD_NAME_DST   "ip.dst"

Definition at line 39 of file detect-ipaddr.c.

◆ KEYWORD_NAME_SRC

#define KEYWORD_NAME_SRC   "ip.src"

Definition at line 38 of file detect-ipaddr.c.

Function Documentation

◆ DetectIPAddrBufferRegister()

void DetectIPAddrBufferRegister ( void  )

Definition at line 53 of file detect-ipaddr.c.

References SigTableElmt_::desc, DETECT_IPADDR_SRC, KEYWORD_NAME_SRC, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: