NAME

  AbortWithPeerTag1.seq - ABORT chunk is received with the peer's Tag and T bit is set


PURPOSE

  To check that receiving ABORT message with the peer's Tag and T bit 
  is set can terminate an association.


SYNOPSIS

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


PRE-TEST CONDITION

  Association is established between endpoint A and B. Arrange 
  the data in endpoint A such that an ABORT message is sent to 
  endpoint B containing peer's Tag and T bit is set.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (ESTABLISHED)                        (ESTABLISHED)
  ABORT       ----------------->       Association is removed
  (with peer's Verification Tag and T bit is set)
                                          Communication Lost  --------->
  TEST DESCRIPTION:
  1. Attempt to terminate an association between endpoint A and endpoint 
     B by sending ABORT message with no error cause.
  2. ABORT message is sent either with Peer's Verification Tag and T-bit
     set to 1.
  3. Check A: No Acknowledgement is sent for the ABORT message and 
     association is removed.
  4. Check B: ULP are reported of the association closure.


NOTE

  None


REFERENCE

  RFC 4960
  8.5.1.  Exceptions in Verification Tag Rules
    B) Rules for packet carrying ABORT:
    -   The endpoint MUST always fill in the Verification Tag field of
        the outbound packet with the destination endpoint's tag value, if
        it is known.
    -   If the ABORT is sent in response to an OOTB packet, the endpoint
        MUST follow the procedure described in Section 8.4.
    -   The receiver of an ABORT MUST accept the packet if the
        Verification Tag field of the packet matches its own tag and the
        T bit is not set OR if it is set to its peer's tag and the T bit
        is set in the Chunk Flags.  Otherwise, the receiver MUST silently
        discard the packet and take no further action.