suricata
HttpRangeContainerBlock Struct Reference

#include <app-layer-htp-range.h>

Collaboration diagram for HttpRangeContainerBlock:

Data Fields

uint64_t toskip
 
HttpRangeContainerBuffercurrent
 
HttpRangeContainerFilecontainer
 
FileContainerfiles
 

Detailed Description

A structure representing a single range request : either skipping, buffering, or appending As this belongs to a flow, appending data to it is ensured to be thread-safe Only one block per file has the pointer to the container

Definition at line 90 of file app-layer-htp-range.h.

Field Documentation

◆ container

HttpRangeContainerFile* HttpRangeContainerBlock::container

pointer to the main file container, where to directly append data

Definition at line 96 of file app-layer-htp-range.h.

Referenced by HttpRangeFreeBlock().

◆ current

HttpRangeContainerBuffer* HttpRangeContainerBlock::current

current out of order range to write into

Definition at line 94 of file app-layer-htp-range.h.

◆ files

FileContainer* HttpRangeContainerBlock::files

file container we are owning for now

Definition at line 98 of file app-layer-htp-range.h.

Referenced by HttpRangeFreeBlock().

◆ toskip

uint64_t HttpRangeContainerBlock::toskip

state where we skip content

Definition at line 92 of file app-layer-htp-range.h.


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