save the encryption level of a sent packet in the SentPacketHandler

This commit is contained in:
Marten Seemann
2017-02-25 15:30:25 +07:00
parent 9e147714ac
commit 7d2922d7ab
3 changed files with 30 additions and 6 deletions

View File

@@ -10,9 +10,10 @@ import (
// A Packet is a packet
// +gen linkedlist
type Packet struct {
PacketNumber protocol.PacketNumber
Frames []frames.Frame
Length protocol.ByteCount
PacketNumber protocol.PacketNumber
Frames []frames.Frame
Length protocol.ByteCount
EncryptionLevel protocol.EncryptionLevel
MissingReports uint8