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

Go to the source code of this file.


#define PARSE_REGEX   "^\\s*(\"\\s*)?([0-9]+)(\\s*\")?\\s*$"


void DetectIcmpSeqFree (DetectEngineCtx *de_ctx, void *ptr)
 this function will free memory associated with DetectIcmpSeqData More...
void DetectIcmpSeqRegister (void)
 Registration function for icmp_seq. More...

Detailed Description

Breno Silva

Implements the icmp_seq keyword

Definition in file detect-icmp-seq.c.

Macro Definition Documentation


#define PARSE_REGEX   "^\\s*(\"\\s*)?([0-9]+)(\\s*\")?\\s*$"

Definition at line 42 of file detect-icmp-seq.c.

Function Documentation

◆ DetectIcmpSeqFree()

void DetectIcmpSeqFree ( DetectEngineCtx de_ctx,
void *  ptr 

this function will free memory associated with DetectIcmpSeqData

ptrpointer to DetectIcmpSeqData

Definition at line 268 of file detect-icmp-seq.c.

References SCFree.

◆ DetectIcmpSeqRegister()

void DetectIcmpSeqRegister ( void  )

Registration function for icmp_seq.

Definition at line 58 of file detect-icmp-seq.c.

References SigTableElmt_::desc, DETECT_ICMP_SEQ, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: