Extending rexmit_inconsistency() event to receive an additional

parameter with the packet's TCP flags, if available.
This commit is contained in:
Robin Sommer 2015-10-26 14:11:21 -07:00
parent 88a4683d22
commit a83d97937e
14 changed files with 53 additions and 51 deletions

View file

@ -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