Add comments to reassembly classes

This commit is contained in:
Jon Siwek 2019-09-13 15:23:03 -07:00
parent 69d1620374
commit 0caa30076f
4 changed files with 105 additions and 3 deletions

View file

@ -19,8 +19,6 @@ DataBlock::DataBlock(const u_char* data, uint64_t size, uint64_t arg_seq)
void DataBlockList::DataSize(uint64_t seq_cutoff, uint64_t* below, uint64_t* above) const
{
// TODO: add warnings that this is O(n) and slow
for ( const auto& e : block_map )
{
const auto& b = e.second;