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

Go to the source code of this file.


#define PARSE_REGEX   "^\\s*([!])?\\s*([0-9]{1,9}+)\\s*$"
 Regex for parsing our window option. More...


void DetectWindowFree (DetectEngineCtx *de_ctx, void *ptr)
 this function will free memory associated with DetectWindowData More...
void DetectWindowRegister (void)
 Registration function for window: keyword. More...

Detailed Description

Pablo Rincon Crespo

Implements the window keyword.

Definition in file detect-tcp-window.c.

Macro Definition Documentation


#define PARSE_REGEX   "^\\s*([!])?\\s*([0-9]{1,9}+)\\s*$"

Regex for parsing our window option.

Definition at line 45 of file detect-tcp-window.c.

Function Documentation

◆ DetectWindowFree()

void DetectWindowFree ( DetectEngineCtx de_ctx,
void *  ptr 

this function will free memory associated with DetectWindowData

wdpointer to DetectWindowData

Definition at line 212 of file detect-tcp-window.c.

References SCFree.

◆ DetectWindowRegister()

void DetectWindowRegister ( void  )

Registration function for window: keyword.

Definition at line 59 of file detect-tcp-window.c.

References SigTableElmt_::alias, SigTableElmt_::desc, DETECT_WINDOW, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: