NAME

  ShutAckInShutAckSend.seq - SHUTDOWN-ACK chunk is received in SHUTDOWN-ACK-SENT State


PURPOSE

  To check that if SHUTDOWN-ACK chunk is received in SHUTDOWN-ACK-SENT
  state, the endpoint should stop the T2-shutdown timer, respond with a
  SHUTDOWN-COMPLETE chunk.


SYNOPSIS

  ./ShutAckInShutAckSend.seq [-tooloption ...] -pkt ./ShutAckInShutAckSend.def
    -tooloption : v6eval tool option
  See Also: ../common/STD_PKT_COMMON.def
            ../common/SCTP_COMMON.def


PRE-TEST CONDITION

  Association is not established between endpoint A and B. Arrange data 
  in endpoint A such that SHUTDOWN-ACK chunk is sent to endpoint B when
  endpoint B is in SHUTDOWN-ACK-SENT state.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (ESTABLISHED)                        (ESTABLISHED)
  SHUTDOWN      ----------------->
                <-----------------      SHUTDOWN-ACK
  SHUTDOWN-ACK  ----------------->
                <-----------------      SHUTDOWN-COMPLETE
  TEST DESCRIPTION:
  1. Send SHUTDOWN-ACK message from endpoint A to B when endpoint B is in
     SHUTDOWN-ACK-SENT state. 
  2. Check A: SHUTDOWN-COMPLETE message will be sent to endpoint A.
  3. Check B: T2-shutdown timer is stop and no SHUTDOWN-ACK message can be
     received at endpoint A.


NOTE

  None


REFERENCE

  RFC 4960
  9.2.  Shutdown of an Association
    If an endpoint is in the SHUTDOWN-ACK-SENT state and receives a
    SHUTDOWN ACK, it shall stop the T2-shutdown timer, send a SHUTDOWN
    COMPLETE chunk to its peer, and remove all record of the association.