suricata
|
Go to the source code of this file.
Functions | |
void | DetectBsizeRegister (void) |
Registration function for bsize: keyword. More... | |
int | DetectBsizeMatch (const SigMatchCtx *ctx, const uint64_t buffer_size, bool eof) |
bsize match function More... | |
bool | DetectBsizeValidateContentCallback (Signature *s, const SignatureInitDataBuffer *) |
Definition in file detect-bsize.h.
int DetectBsizeMatch | ( | const SigMatchCtx * | ctx, |
const uint64_t | buffer_size, | ||
bool | eof | ||
) |
bsize match function
ctx | match ctx |
buffer_size | size of the buffer |
eof | is the buffer closed? |
r | 1 match, 0 no match, -1 can't match |
Definition at line 119 of file detect-bsize.c.
References ctx, DETECT_UINT_EQ, DETECT_UINT_GT, DETECT_UINT_GTE, DETECT_UINT_LT, DETECT_UINT_LTE, DETECT_UINT_RA, and DetectU64Match().
void DetectBsizeRegister | ( | void | ) |
Registration function for bsize: keyword.
Definition at line 98 of file detect-bsize.c.
References SigTableElmt_::desc, DETECT_BSIZE, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().
bool DetectBsizeValidateContentCallback | ( | Signature * | s, |
const SignatureInitDataBuffer * | |||
) |
Definition at line 48 of file detect-bsize.c.
References DETECT_BSIZE, SignatureInitDataBuffer_::head, and SigMatch_::next.