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

Data Fields | |
| uint8_t * | key |
| uint32_t | len |
| SCTime_t | expire |
| THashData * | hdata |
| uint64_t | totalsize |
| uint64_t | lastsize |
| const StreamingBufferConfig * | sbcfg |
| FileContainer * | files |
| struct HTTP_RANGES | fragment_tree |
| uint16_t | flags |
| bool | error |
Item in hash table for a file in multiple ranges Thread-safety is ensured with the thread-safe hash table cf THashData The number of use is increased for each flow opening a new HttpRangeContainerBlock until it closes this HttpRangeContainerBlock The design goal is to have concurrency only on opening and closing a range request and have a lock-free data structure belonging to one Flow (see HttpRangeContainerBlock below) for every append in between (we suppose we have many appends per range request)
Definition at line 94 of file app-layer-htp-range.h.
| bool HttpRangeContainerFile::error |
error condition for this range. Its up to timeout handling to cleanup
Definition at line 116 of file app-layer-htp-range.h.
| SCTime_t HttpRangeContainerFile::expire |
expire time in epoch
Definition at line 100 of file app-layer-htp-range.h.
| FileContainer* HttpRangeContainerFile::files |
file container, with only one file
Definition at line 110 of file app-layer-htp-range.h.
| uint16_t HttpRangeContainerFile::flags |
file flags
Definition at line 114 of file app-layer-htp-range.h.
| struct HTTP_RANGES HttpRangeContainerFile::fragment_tree |
red and black tree list of ranges which came out of order
Definition at line 110 of file app-layer-htp-range.h.
| THashData* HttpRangeContainerFile::hdata |
pointer to hashtable data, for locking and use count
Definition at line 102 of file app-layer-htp-range.h.
| uint8_t* HttpRangeContainerFile::key |
key for hashtable
Definition at line 96 of file app-layer-htp-range.h.
| uint64_t HttpRangeContainerFile::lastsize |
size of the file after last sync
Definition at line 106 of file app-layer-htp-range.h.
| uint32_t HttpRangeContainerFile::len |
key length
Definition at line 98 of file app-layer-htp-range.h.
| const StreamingBufferConfig* HttpRangeContainerFile::sbcfg |
streaming buffer config for files below
Definition at line 108 of file app-layer-htp-range.h.
| uint64_t HttpRangeContainerFile::totalsize |
total expected size of the file in ranges
Definition at line 104 of file app-layer-htp-range.h.