package
0.0.0-20220622123727-582326c6a2f8
Repository: https://github.com/qdeconinck/mp-quic.git
Documentation: pkg.go.dev
# Functions
HasRetransmittableFrames returns true if at least one frame is retransmittable.
IsFrameRetransmittable returns true if the frame should be retransmitted.
NewPacketList returns an initialized list.
NewReceivedPacketHandler creates a new receivedPacketHandler.
NewSentPacketHandler creates a new sentPacketHandler.
# Variables
ErrAckForSkippedPacket occurs when the client sent an ACK for a packet number that we intentionally skipped.
ErrDuplicateOrOutOfOrderAck occurs when a duplicate or an out-of-order ACK is received.
ErrTooManyTrackedSentPackets occurs when the sentPacketHandler has to keep track of too many packets.
# Structs
A Packet is a packet +gen linkedlist.
PacketElement is an element of a linked list.
PacketList represents a doubly linked list.
# Interfaces
ReceivedPacketHandler handles ACKs needed to send for incoming packets.
SentPacketHandler handles ACKs received for outgoing packets.