mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Reformat the world
This commit is contained in:
parent
194cb24547
commit
b2f171ec69
714 changed files with 35149 additions and 35203 deletions
|
@ -1,13 +1,15 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include "zeek/file_analysis/FileReassembler.h"
|
||||
|
||||
#include "zeek/file_analysis/File.h"
|
||||
|
||||
namespace zeek::file_analysis {
|
||||
namespace zeek::file_analysis
|
||||
{
|
||||
|
||||
class File;
|
||||
|
||||
FileReassembler::FileReassembler(File *f, uint64_t starting_offset)
|
||||
FileReassembler::FileReassembler(File* f, uint64_t starting_offset)
|
||||
: Reassembler(starting_offset, REASSEM_FILE), the_file(f), flushing(false)
|
||||
{
|
||||
}
|
||||
|
@ -45,8 +47,7 @@ void FileReassembler::BlockInserted(DataBlockMap::const_iterator it)
|
|||
{
|
||||
const auto& start_block = it->second;
|
||||
|
||||
if ( start_block.seq > last_reassem_seq ||
|
||||
start_block.upper <= last_reassem_seq )
|
||||
if ( start_block.seq > last_reassem_seq || start_block.upper <= last_reassem_seq )
|
||||
return;
|
||||
|
||||
while ( it != block_list.End() )
|
||||
|
@ -111,4 +112,4 @@ void FileReassembler::Overlap(const u_char* b1, const u_char* b2, uint64_t n)
|
|||
{
|
||||
// Not doing anything here yet.
|
||||
}
|
||||
} // end file_analysis
|
||||
} // end file_analysis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue