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]+)"
 
#define MAX_SUBSTRINGS   30
 

Functions

void DetectMarkDataFree (void *ptr)
 
void DetectMarkRegister (void)
 Registration function for nfq_set_mark: keyword. More...
 
void MarkRegisterTests (void)
 this function registers unit tests for Mark 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

#define MAX_SUBSTRINGS   30

Referenced by DetectMarkRegister().

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

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

Referenced by DetectMarkRegister().

Function Documentation

void DetectMarkDataFree ( void *  ptr)
void MarkRegisterTests ( void  )

this function registers unit tests for Mark

This function registers unit tests for Mark

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

References UtRegisterTest().

Referenced by DetectMarkRegister().

Here is the call graph for this function:

Here is the caller graph for this function: