suricata
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.

Macros

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

Functions

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

Detailed Description

Author
Eric Leblond eric@.nosp@m.regi.nosp@m.t.org

Implements the mark keyword. Based on detect-gid by Breno Silva breno.nosp@m..sil.nosp@m.va@gm.nosp@m.ail..nosp@m.com

Definition in file detect-mark.c.

Macro Definition Documentation

◆ PARSE_REGEX

#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 212 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: