suricata
DetectBytetestData_ Struct Reference

#include <detect-bytetest.h>

Data Fields

uint8_t nbytes
 
uint8_t op
 
uint8_t base
 
uint8_t bitmask_shift_count
 
uint8_t flags
 
bool neg_op
 
int32_t offset
 
uint32_t bitmask
 
uint64_t value
 

Detailed Description

Definition at line 52 of file detect-bytetest.h.

Field Documentation

◆ base

uint8_t DetectBytetestData_::base

String value base (oct|dec|hex)

Definition at line 55 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().

◆ bitmask

uint32_t DetectBytetestData_::bitmask

bitmask value

Definition at line 60 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().

◆ bitmask_shift_count

uint8_t DetectBytetestData_::bitmask_shift_count

bitmask trailing 0 count

Definition at line 56 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().

◆ flags

uint8_t DetectBytetestData_::flags

Flags (big|little|relative|string|bitmask)

Definition at line 57 of file detect-bytetest.h.

◆ nbytes

uint8_t DetectBytetestData_::nbytes

Number of bytes to compare

Definition at line 53 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().

◆ neg_op

bool DetectBytetestData_::neg_op

Definition at line 58 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().

◆ offset

int32_t DetectBytetestData_::offset

Offset in payload

Definition at line 59 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().

◆ op

uint8_t DetectBytetestData_::op

Operator used to compare

Definition at line 54 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().

◆ value

uint64_t DetectBytetestData_::value

Value to compare against

Definition at line 61 of file detect-bytetest.h.

Referenced by DetectBytetestDoMatch().


The documentation for this struct was generated from the following file: