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

@ -162,6 +162,8 @@ public:
//
// If we're not processing contents, then naturally each of
// these is empty.
//
// WARNING: this is an O(n) operation and potentially very slow.
void SizeBufferedData(uint64_t& waiting_on_hole, uint64_t& waiting_on_ack);
int ValidChecksum(const struct tcphdr* tp, int len) const;