keep track of ECN counts on received packets

This commit is contained in:
Marten Seemann
2020-08-10 13:02:16 +07:00
parent 13fa0bcdd1
commit fa4f0a9e7a
9 changed files with 144 additions and 92 deletions

View File

@@ -34,6 +34,15 @@ func (t PacketType) String() string {
}
}
type ECN uint8
const (
ECNNon ECN = iota
ECT0
ECT1
ECNCE
)
// A ByteCount in QUIC
type ByteCount uint64