detect-byte.c File Reference
#include "suricata-common.h"
#include "detect-byte.h"
#include "detect-byte-extract.h"
#include "detect-bytemath.h"
Include dependency graph for detect-byte.c:

Go to the source code of this file.


bool DetectByteRetrieveSMVar (const char *arg, const Signature *s, DetectByteIndexType *index)
 Used to retrieve args from BM. More...

Detailed Description

Jeff Lucovsky

Definition in file detect-byte.c.

Function Documentation

◆ DetectByteRetrieveSMVar()

bool DetectByteRetrieveSMVar ( const char *  arg,
const Signature s,
DetectByteIndexType index 

Used to retrieve args from BM.

argThe name of the variable being sought
sThe signature to check for the variable
indexWhen found, the value of the slot within the byte vars
Return values
trueA match for the variable was found.

Definition at line 39 of file detect-byte.c.

References SigMatch_::ctx, DetectByteExtractRetrieveSMVar(), and DetectByteMathRetrieveSMVar().

Here is the call graph for this function: