Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + const HighFragThreshold + const LowFragThreshold + var ErrFragmentConflict = errors.New("conflicting fragments") + var ErrFragmentOverlap = errors.New("overlapping fragments") + var ErrInvalidArgs = errors.New("invalid args") + type FragmentID struct + Destination tcpip.Address + ID uint32 + Protocol uint8 + Source tcpip.Address + type Fragmentation struct + func NewFragmentation(blockSize uint16, highMemoryLimit, lowMemoryLimit int, ...) *Fragmentation + func (f *Fragmentation) Process(id FragmentID, first, last uint16, more bool, proto uint8, ...) (*stack.PacketBuffer, uint8, bool, error) + func (f *Fragmentation) Release() + type PacketFragmenter struct + func MakePacketFragmenter(pkt *stack.PacketBuffer, fragmentPayloadLen uint32, reserve int) PacketFragmenter + func (pf *PacketFragmenter) BuildNextFragment() (*stack.PacketBuffer, int, int, bool) + func (pf *PacketFragmenter) Release() + func (pf *PacketFragmenter) RemainingFragmentCount() int + type TimeoutHandler interface + OnReassemblyTimeout func(pkt *stack.PacketBuffer)