suricata
DetectBytetestData_ Struct Reference

#include <detect-bytetest.h>

Data Fields

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

Detailed Description

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

Field Documentation

◆ base

uint8_t DetectBytetestData_::base

String value base (oct|dec|hex)

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

◆ bitmask

uint32_t DetectBytetestData_::bitmask

bitmask value

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

◆ bitmask_shift_count

uint8_t DetectBytetestData_::bitmask_shift_count

bitmask trailing 0 count

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

◆ flags

uint16_t DetectBytetestData_::flags

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

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

Referenced by DetectBytetestDoMatch().

◆ nbytes

uint8_t DetectBytetestData_::nbytes

Number of bytes to compare

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

◆ neg_op

bool DetectBytetestData_::neg_op

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

◆ offset

int32_t DetectBytetestData_::offset

Offset in payload

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

◆ op

uint8_t DetectBytetestData_::op

Operator used to compare

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

◆ value

uint64_t DetectBytetestData_::value

Value to compare against

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


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