ShutInShutRecv.seq - SHUTDOWN chunk is received in SHUTDOWN-RECEIVED State
To check that if SHUTDOWN chunk is received in SHUTDOWN-RECEIVED State then the endpoint should process the Cumulative TSN Ack of the received SHUTDOWN chunk.
./ShutInShutRecv.seq [-tooloption ...] -pkt ./ShutInShutRecv.def -tooloption : v6eval tool option See Also: ../common/STD_PKT_COMMON.def ../common/SCTP_COMMON.def
Association is established between endpoint A and B. Arrange the data in endpoint B such that terminate primitive is received from ULP to terminate the association. Arrange data in endpoint A such that SHUTDOWN message is sent to endpoint B.
Endpoint A Endpoint B ULP (ESTABLISHED) (ESTABLISHED)
<----------------- DATA (TSN=x) SHUTDOWN -----------------> (TSN=x-1) <----------------- DATA (TSN=x) SHUTDOWN -----------------> (TSN=x) <----------------- SHUTDOWN-ACK
SHUTDOWN-COMPLETE ----------------->
TEST DESCRIPTION:
1. Try to terminate the association between endpoint A and B by sending terminate primitive from ULP. While endpoint B is in SHUTDOWN-RECEIVED state, send SHUTDOWN message from endpoint A. 2. Check A: The Cumulative TSN Ack of the received SHUTDOWN chunk is processed. SHUTDOWN-ACK message is sent in response to the SHUTDOWN message.
None
RFC 4960
9.2. Shutdown of an Association
Once an endpoint has reached the SHUTDOWN-RECEIVED state, it MUST NOT send a SHUTDOWN in response to a ULP request. The Cumulative TSN Ack of the received SHUTDOWN chunk MUST be processed.