suricata
detect-stream_size.c File Reference
#include "suricata-common.h"
#include "stream-tcp.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "detect.h"
#include "detect-parse.h"
#include "flow.h"
#include "detect-stream_size.h"
#include "stream-tcp-private.h"
#include "detect-engine-prefilter-common.h"
#include "detect-engine-uint.h"
#include "util-debug.h"
#include "util-byte.h"
Include dependency graph for detect-stream_size.c:

Go to the source code of this file.

Functions

void DetectStreamSizeFree (DetectEngineCtx *de_ctx, void *ptr)
 this function will free memory associated with DetectStreamSizeData More...
 
void DetectStreamSizeRegister (void)
 Registration function for stream_size: keyword. More...
 

Detailed Description

Author
Gurvinder Singh gurvi.nosp@m.nder.nosp@m.singh.nosp@m.dahi.nosp@m.ya@gm.nosp@m.ail..nosp@m.com

Stream size for the engine.

Definition in file detect-stream_size.c.

Function Documentation

◆ DetectStreamSizeFree()

void DetectStreamSizeFree ( DetectEngineCtx de_ctx,
void *  ptr 
)

this function will free memory associated with DetectStreamSizeData

Parameters
ptrpointer to DetectStreamSizeData

Definition at line 162 of file detect-stream_size.c.

◆ DetectStreamSizeRegister()

void DetectStreamSizeRegister ( void  )

Registration function for stream_size: keyword.

Definition at line 58 of file detect-stream_size.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: