NAME

  GEN_NoUserData.seq - Generation of error cause No User Data


PURPOSE

  To check that if DATA chunk is received with no user data then the
  endpoint should send ABORT message with cause No User Data.


SYNOPSIS

  ./GEN_NoUserData.seq [-tooloption ...] -pkt ./GEN_NoUserData.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 data 
  in endpoint A such that DATA chunk with no user data is sent to 
  endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (ESTABLISHED)                        (ESTABLISHED)
   DATA           ----------------->
   (with no user data)
                  <-----------------    ABORT
                                        (No User Data)
                                        Communication Down  --------->
  TEST DESCRIPTION:
  1. Send DATA chunk from endpoint A to B with no user data i.e. length
     should be 16.
  2. Check A: ABORT should be received at endpoint A.
  3. Check B: Error cause in ABORT is set to "No User Data".


NOTE

  None


REFERENCE

  RFC 4960
  3.3.10.9.  No User Data (9)
    Cause of error
    ---------------
    No User Data: This error cause is returned to the originator of a
    DATA chunk if a received DATA chunk has no user data.
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       |     Cause Code=9              |      Cause Length=8           |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       /                  TSN value                                    /
       \                                                               \
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    TSN value: 32 bits (unsigned integer)
      The TSN value field contains the TSN of the DATA chunk received
      with no user data field.
      This cause code is normally returned in an ABORT chunk (see
      Section 6.2).