GEN_UnregChunkType.seq - Generation of error cause Unrecognized Chunk Type
To check that if Unrecognized Chunk Type is received with higher two bytes are set to 01, the endpoint should stop processing this SCTP packet and discard it, do not process any further chunks within it, and report the unrecognized chunk in an 'Unrecognized Chunk Type'.
./GEN_UnregChunkType.seq [-tooloption ...] -pkt ./GEN_UnregChunkType.def -tooloption : v6eval tool option See Also: ../common/STD_PKT_COMMON.def ../common/SCTP_COMMON.def
Association is not established between endpoint A and B. Arrange the data in endpoint A such that a datagram with reserved chunk type is sent to endpoint B bundled with DATA chunk in any state and higher two bytes are set to 01.
Endpoint A Endpoint B ULP (ESTABLISHED) (ESTABLISHED)
Chunk Type 7F -----------------> (bundled with DATA) <------------------ ERROR (Unrecognized Chunk Type)
TEST DESCRIPTION:
1. Send SCTP message from endpoint A to B with higher two bytes are set to 01, which is bundled with DATA chunk. Record the message sequence using a signal emulator. 2. Check A: Datgram with reserved chunk type is discarded and ERROR is also received at endpoint A with cause "Unrecognized Chunk type". 3. Check B: SACK is not received at endpoint A for the DATA chunk. 4. Check C: Association is not disturbed.
None
RFC 4960
3.3.10.6. Unrecognized Chunk Type (6)
Cause of error ---------------
Unrecognized Chunk Type: This error cause is returned to the originator of the chunk if the receiver does not understand the chunk and the upper bits of the 'Chunk Type' are set to 01 or 11.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Cause Code=6 | Cause Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / Unrecognized Chunk / \ \ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Unrecognized Chunk: variable length
The Unrecognized Chunk field contains the unrecognized chunk from the SCTP packet complete with Chunk Type, Chunk Flags, and Chunk Length.