mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 13:17:36 +03:00
return the packet number length when peek a new packet number
This commit is contained in:
parent
ebbf839fa4
commit
c81cd92daf
7 changed files with 48 additions and 113 deletions
|
@ -31,9 +31,8 @@ type SentPacketHandler interface {
|
|||
DequeuePacketForRetransmission() *Packet
|
||||
DequeueProbePacket() (*Packet, error)
|
||||
|
||||
PeekPacketNumber() protocol.PacketNumber
|
||||
PeekPacketNumber() (protocol.PacketNumber, protocol.PacketNumberLen)
|
||||
PopPacketNumber() protocol.PacketNumber
|
||||
GetPacketNumberLen(protocol.PacketNumber) protocol.PacketNumberLen
|
||||
|
||||
GetAlarmTimeout() time.Time
|
||||
OnAlarm() error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue