suricata
|
#include "suricata-common.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine-prefilter-common.h"
#include "detect-engine-uint.h"
#include "util-byte.h"
#include "detect-tcp-wscale.h"
Go to the source code of this file.
Functions | |
void | DetectTcpWscaleFree (DetectEngineCtx *de_ctx, void *ptr) |
this function will free memory associated with DetectU8Data | |
void | DetectTcpWscaleRegister (void) |
Registration function for tcp.wscale keyword. | |
Definition in file detect-tcp-wscale.c.
void DetectTcpWscaleFree | ( | DetectEngineCtx * | de_ctx, |
void * | ptr | ||
) |
this function will free memory associated with DetectU8Data
ptr | pointer to DetectU8Data |
Definition at line 122 of file detect-tcp-wscale.c.
Referenced by DetectTcpWscaleRegister().
void DetectTcpWscaleRegister | ( | void | ) |
Registration function for tcp.wscale keyword.
Definition at line 47 of file detect-tcp-wscale.c.
References SigTableElmt_::desc, DETECT_TABLE_PACKET_FILTER_FLAG, DETECT_TABLE_PACKET_PRE_FLOW_FLAG, DETECT_TABLE_PACKET_PRE_STREAM_FLAG, DETECT_TABLE_PACKET_TD_FLAG, DETECT_TCP_WSCALE, DetectTcpWscaleFree(), SigTableElmt_::flags, SigTableElmt_::Free, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, SigTableElmt_::SetupPrefilter, SIGMATCH_SUPPORT_FIREWALL, sigmatch_table, SigTableElmt_::SupportsPrefilter, SigTableElmt_::tables, and SigTableElmt_::url.
Referenced by SigTableSetup().