mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
move the packet number generator to the ackhandler package
This commit is contained in:
parent
16848038be
commit
ebbf839fa4
8 changed files with 184 additions and 83 deletions
|
@ -30,6 +30,9 @@ type SentPacketHandler interface {
|
|||
GetLowestPacketNotConfirmedAcked() protocol.PacketNumber
|
||||
DequeuePacketForRetransmission() *Packet
|
||||
DequeueProbePacket() (*Packet, error)
|
||||
|
||||
PeekPacketNumber() protocol.PacketNumber
|
||||
PopPacketNumber() protocol.PacketNumber
|
||||
GetPacketNumberLen(protocol.PacketNumber) protocol.PacketNumberLen
|
||||
|
||||
GetAlarmTimeout() time.Time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue