3.3. Définitions des chunks SCTP (Partie 1)
Cette partie décrit les chunks de base : DATA, INIT, INIT ACK et SACK.
3.3.1. Payload Data (DATA)
Le chunk DATA transporte les données utilisateur. Ses champs incluent :
- Type (0), drapeaux (U, B, E pour unordered, beginning, end), longueur
- TSN (Transmission Sequence Number, 32 bits)
- Stream Identifier (S, 16 bits)
- Stream Sequence Number (16 bits)
- Payload Protocol Identifier (32 bits)
- Données utilisateur
3.3.2. Initiation (INIT)
Le chunk INIT démarre l'établissement d'une association. Il contient :
- Initiate Tag (32 bits)
- Advertised Receiver Window Credit (a_rwnd, 32 bits)
- Number of Outbound Streams
- Number of Inbound Streams
- Initial TSN
- Paramètres optionnels (adresses, cookie prescriptif, etc.)
3.3.3. Accusé d'initiation (INIT ACK)
Le chunk INIT ACK répond à un INIT. Son format est identique à INIT, avec un champ « State Cookie » obligatoire défini par l'expéditeur.
3.3.4. Accusé sélectif (SACK)
Le chunk SACK accuse la réception et signale les trous. Il contient :
- Cumulative TSN Ack
- Advertised Receiver Window Credit (a_rwnd)
- Number of Gap Ack Blocks
- Number of Duplicate TSNs
- Gap Ack Blocks
- Duplicate TSNs