rename the wire.Header to ExtendedHeader

It's not encrypted yet.
This commit is contained in:
Marten Seemann 2018-11-20 17:11:27 +07:00
parent cef26922b4
commit bf96707f48
17 changed files with 92 additions and 93 deletions

View file

@ -22,7 +22,7 @@ type packetData []byte
var _ = Describe("QUIC Proxy", func() {
makePacket := func(p protocol.PacketNumber, payload []byte) []byte {
b := &bytes.Buffer{}
hdr := wire.Header{
hdr := wire.ExtendedHeader{
PacketNumber: p,
PacketNumberLen: protocol.PacketNumberLen4,
DestConnectionID: protocol.ConnectionID{0xde, 0xad, 0xbe, 0xef, 0, 0, 0x13, 0x37},