suricata
detect-byte.h File Reference
#include "detect.h"
Include dependency graph for detect-byte.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef uint8_t DetectByteIndexType
 

Functions

bool DetectByteRetrieveSMVar (const char *, const Signature *, DetectByteIndexType *)
 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.h.

Typedef Documentation

◆ DetectByteIndexType

typedef uint8_t DetectByteIndexType

Definition at line 28 of file detect-byte.h.

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: