suricata
detect-byte.c File Reference
#include "suricata-common.h"
#include "rust.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.

Functions

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

Detailed Description

Author
Jeff Lucovsky jeff@.nosp@m.luco.nosp@m.vsky..nosp@m.org

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.

Parameters
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.
false

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

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

Here is the call graph for this function: