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 88 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 94 of file app-layer-htp-range.h.

Referenced by HTPFileCloseHandleRange(), and HttpRangeClose().

◆ current

HttpRangeContainerBuffer* HttpRangeContainerBlock::current

current out of order range to write into

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

Referenced by HttpRangeAppendData(), and HttpRangeClose().

◆ files

FileContainer* HttpRangeContainerBlock::files

file container we are owning for now

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

Referenced by HttpRangeAppendData(), and HttpRangeClose().

◆ toskip

uint64_t HttpRangeContainerBlock::toskip

state where we skip content

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

Referenced by HttpRangeAppendData(), and HttpRangeClose().


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