Table of Contents
1. Test chapter
List of Tables
1-1. ABORT chunk headers
1-2. COOKIE ACK chunk headers
1-3. COOKIE ECHO chunk headers
1-4. DATA chunk headers
1-5. ERROR chunk headers
1-6. HEARTBEAT ACK chunk headers
1-7. HEARTBEAT chunk headers
1-8. INIT ACK chunk headers
1-9. INIT chunk headers
1-10. Hostname Parameter headers
1-11. IPv4 Parameter headers
1-12. IPv6 Parameter headers
1-13. SACK chunk headers
1-14. Generic chunk headers
1-15. SHUTDOWN ACK chunk headers
1-16. SHUTDOWN COMPLETE chunk headers
1-17. SHUTDOWN chunk headers
1-18. Common SCTP headers
1-19. Generic chunk headerlayout
1-20. template headers

Chapter 1. Test chapter

Table 1-1. ABORT chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 6 Reserved T Length
Zero or more Error Causes

Table 1-2. COOKIE ACK chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 11 Chunk Flags Length = 4

Table 1-3. COOKIE ECHO chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 10 Chunk Flags Length
Cookie

Table 1-4. DATA chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 0 Reserved U B E Length
TSN
Stream Identifier S Stream Sequence Number n
Payload Protocol Identifier
User Data (seq n of of Stream S)

Table 1-5. ERROR chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 9 Chunk Flags Length
one or more Error Causes

Table 1-6. HEARTBEAT ACK chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 5 Chunk Flags Length
Heartbeat Information TLV

Table 1-7. HEARTBEAT chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 4 Chunk Flags Length
Heartbeat Information TLV

Table 1-8. INIT ACK chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 2 Chunk Flags Length
Initiate Tag
Advertised Receiver Window Credit
Number of Outbound Streams Number of Inbound Streams
Initial TSN
Optional/Variable-Length Parameters

Table 1-9. INIT chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 1 Chunk Flags Length
Initiate Tag
Advertised Receiver Window Credit (a_rwnd)
Number of Outbound Streams Number of Inbound Streams
Initial TSN
Optional Parameters

Table 1-10. Hostname Parameter headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 11 Length
Host Name

Table 1-11. IPv4 Parameter headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 5 Length = 8
IPv4 Address

Table 1-12. IPv6 Parameter headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 6 Length = 20
IPv6 Address

Table 1-13. SACK chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 3 Chunk Flags Length
Cumulative TSN Ack
Advertised Receiver Window Credit (a_rwnd)
Number of Gap Ack Blocks = N Number of Duplicate TSNs = X
Gap Ack Block #1 Start Gap Ack Block #1 End
...
Gap Ack Block #N Start Gap Ack Block #N End
Duplicate TSN #1
...
Duplicate TSN #X

Table 1-14. Generic chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type Chunk Flags Chunk Length
Chunk Value

Table 1-15. SHUTDOWN ACK chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 8 Chunk Flags Length = 4

Table 1-16. SHUTDOWN COMPLETE chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 14 Reserved T Length = 4

Table 1-17. SHUTDOWN chunk headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 7 Chunk Flags Length = 8
Cumulative TSN Ack

Table 1-18. Common SCTP headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Source Port Destination Port
Verification Tag
Checksum

Table 1-19. Generic chunk headerlayout

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Common header
Chunk #1
...
Chunk #n

Table 1-20. template headers

0                   1                   2                   3  
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Type = 6 Reserved T Length
Zero or more Error Causes