calculate the EntropyByte of every sent packet

This commit is contained in:
Marten Seemann
2016-04-21 16:32:41 +07:00
parent 011932f357
commit e18697a5bc
3 changed files with 29 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ type Packet struct {
PacketNumber protocol.PacketNumber
Plaintext []byte
EntropyBit bool
Entropy EntropyAccumulator
MissingReports uint8
}