ParameterTypeActionA10.seq - Unrecognized Parameter Type with higher two bytes are set to 10
To check that if unrecognized parameter type is received with higher two bytes are set to 10, the endpoint should skip this parameter and continue processing.
./ParameterTypeActionA10.seq [-tooloption ...] -pkt ./ParameterTypeActionA10.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 INIT chunk is sent to endpoint B with unrecognized parameter type in which higher two bytes are set to 10.
Endpoint A Endpoint B ULP (CLOSED) (CLOSED)
INIT -----------------> (with unrecognized parameter type 0x3F00 and Unresolvable Host Name Address) <----------------- ABORT (with Unresolvable Address) TEST DESCRIPTION:
1. Attempt to initiate an association from endpoint A to B. Send INIT message with one optional parameter which is not defined in INIT. The highest order two bits in that parameter should be 10 and HostNameAddress parameter with Unresolvable Host Name Address. 2. Check A: That unrecognized parameter is skipped and ABORT is received at endpoint A. 3. Check B: Error cause in ABORT chunk is set to "Unresolvable Address".
None
RFC 4960
3.2.1. Optional/Variable-Length Parameter Format
The Parameter Types are encoded such that the highest-order 2 bits specify the action that must be taken if the processing endpoint does not recognize the Parameter Type.
00 - Stop processing this parameter; do not process any further parameters within this chunk.
01 - Stop processing this parameter, do not process any further parameters within this chunk, and report the unrecognized parameter in an 'Unrecognized Parameter', as described in Section 3.2.2.
10 - Skip this parameter and continue processing.
11 - Skip this parameter and continue processing but report the unrecognized parameter in an 'Unrecognized Parameter', as described in Section 3.2.2.
Please note that in all four cases, an INIT ACK or COOKIE ECHO chunk is sent. In the 00 or 01 case, the processing of the parameters after the unknown parameter is canceled, but no processing already done is rolled back.