mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Extending rexmit_inconsistency() event to receive an additional
parameter with the packet's TCP flags, if available.
This commit is contained in:
parent
88a4683d22
commit
a83d97937e
14 changed files with 53 additions and 51 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "Reassem.h"
|
||||
#include "TCP_Endpoint.h"
|
||||
#include "TCP_Flags.h"
|
||||
|
||||
class BroFile;
|
||||
class Connection;
|
||||
|
@ -61,7 +62,7 @@ public:
|
|||
void SkipToSeq(uint64 seq);
|
||||
|
||||
int DataSent(double t, uint64 seq, int len, const u_char* data,
|
||||
bool replaying=true);
|
||||
analyzer::tcp::TCP_Flags flags, bool replaying=true);
|
||||
void AckReceived(uint64 seq);
|
||||
|
||||
// Checks if we have delivered all contents that we can possibly
|
||||
|
@ -110,6 +111,7 @@ private:
|
|||
uint64 seq_to_skip;
|
||||
|
||||
bool in_delivery;
|
||||
analyzer::tcp::TCP_Flags flags;
|
||||
|
||||
BroFile* record_contents_file; // file on which to reassemble contents
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue