Expand description
ACK (Acknowledgment) control packet — draft-sharabayko-srt-01 §3.2.4,
Figure 13.
Three variants share the same header shape and differ only in how much of the CIF is present, distinguished by CIF length on the wire:
- Full (28-byte CIF): all seven fields, sent every 10 ms.
- Small (16-byte CIF): fields up to and including Available Buffer Size.
- Light (4-byte CIF): only Last Acknowledged Packet Sequence Number.
Structs§
- AckPacket
- ACK control packet (§3.2.4, Figure 13).
ack_numberoccupies the headerType-specific Informationword (“the sequential number of the full acknowledgment packet starting from 1”); per §3.2.4 it “should be set to 0” for Small/Light ACKs, but is stored and round-tripped verbatim regardless of variant.
Enums§
- AckCif
- The ACK Control Information Field — its shape (Full/Small/Light) is
selected by which fields are present on the wire (§3.2.4). Data-carrying
ADT: see
AckPacketfor the label convention rationale.
Constants§
- ACK_
CIF_ LEN_ FULL - CIF length, in bytes, of a Full ACK (§3.2.4).
- ACK_
CIF_ LEN_ LIGHT - CIF length, in bytes, of a Light ACK (§3.2.4).
- ACK_
CIF_ LEN_ SMALL - CIF length, in bytes, of a Small ACK (§3.2.4).