suricata
InspectionBuffer Struct Reference

#include <detect.h>

Data Fields

const uint8_t * inspect
 
uint64_t inspect_offset
 
uint32_t inspect_len
 
uint8_t flags
 
uint32_t len
 
uint8_t * buf
 
uint32_t size
 
uint32_t orig_len
 
const uint8_t * orig
 

Detailed Description

Definition at line 343 of file detect.h.

Field Documentation

◆ buf

uint8_t* InspectionBuffer::buf

◆ flags

uint8_t InspectionBuffer::flags

DETECT_CI_FLAGS_* for use with DetectEngineContentInspection

Definition at line 347 of file detect.h.

Referenced by DetectEngineInspectBufferGeneric(), and DetectEngineInspectPktBufferGeneric().

◆ inspect

const uint8_t* InspectionBuffer::inspect

◆ inspect_len

uint32_t InspectionBuffer::inspect_len

size of active data. See to len or ::orig_len

Definition at line 346 of file detect.h.

Referenced by DetectEngineInspectBufferGeneric(), DetectEngineInspectPktBufferGeneric(), FileSwfDecompression(), InspectionBufferCopy(), and InspectionBufferSetup().

◆ inspect_offset

uint64_t InspectionBuffer::inspect_offset

Definition at line 345 of file detect.h.

Referenced by DetectEngineInspectBufferGeneric().

◆ len

uint32_t InspectionBuffer::len

how much is in use

Definition at line 349 of file detect.h.

Referenced by FileSwfDecompression(), and InspectionBufferSetup().

◆ orig

const uint8_t* InspectionBuffer::orig

Definition at line 354 of file detect.h.

Referenced by InspectionBufferSetup().

◆ orig_len

uint32_t InspectionBuffer::orig_len

Definition at line 353 of file detect.h.

Referenced by InspectionBufferSetup().

◆ size

uint32_t InspectionBuffer::size

size of the memory allocation

Definition at line 351 of file detect.h.

Referenced by FileSwfDecompression(), InspectionBufferCheckAndExpand(), InspectionBufferCopy(), and InspectionBufferInit().


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