mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
rename the wire.Header to ExtendedHeader
It's not encrypted yet.
This commit is contained in:
parent
cef26922b4
commit
bf96707f48
17 changed files with 92 additions and 93 deletions
|
@ -15,13 +15,13 @@ import (
|
|||
var _ = Describe("Packet Unpacker", func() {
|
||||
var (
|
||||
unpacker *packetUnpacker
|
||||
hdr *wire.Header
|
||||
hdr *wire.ExtendedHeader
|
||||
aead *MockQuicAEAD
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
aead = NewMockQuicAEAD(mockCtrl)
|
||||
hdr = &wire.Header{
|
||||
hdr = &wire.ExtendedHeader{
|
||||
PacketNumber: 10,
|
||||
PacketNumberLen: 1,
|
||||
Raw: []byte{0x04, 0x4c, 0x01},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue