detect-mark.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "decode.h"
#include "detect.h"
#include "flow-var.h"
#include "decode-events.h"
#include "detect-mark.h"
#include "detect-parse.h"
#include "util-unittest.h"
#include "util-debug.h"
Include dependency graph for detect-mark.c:

Go to the source code of this file.


#define PARSE_REGEX   "([0x]*[0-9a-f]+)/([0x]*[0-9a-f]+)"


void DetectMarkDataFree (DetectEngineCtx *, void *ptr)
void DetectMarkRegister (void)
 Registration function for nfq_set_mark: keyword. More...

Detailed Description

Eric Leblond

Implements the mark keyword. Based on detect-gid by Breno Silva

Definition in file detect-mark.c.

Macro Definition Documentation


#define PARSE_REGEX   "([0x]*[0-9a-f]+)/([0x]*[0-9a-f]+)"

Definition at line 41 of file detect-mark.c.

Function Documentation

◆ DetectMarkDataFree()

void DetectMarkDataFree ( DetectEngineCtx de_ctx,
void *  ptr 

Definition at line 218 of file detect-mark.c.

References SCFree.

◆ DetectMarkRegister()

void DetectMarkRegister ( void  )

Registration function for nfq_set_mark: keyword.

Registration function for nfq_set_mark: keyword

Definition at line 56 of file detect-mark.c.

References DETECT_MARK, SigTableElmt_::Match, SigTableElmt_::name, and sigmatch_table.

Referenced by SigTableSetup().

Here is the caller graph for this function: