NAME

  InitAckWithSmallArwnd.seq - INIT-ACK chunk is received with advertised receiver window less than 1500


PURPOSE

  To check that if INIT-ACK chunk is received with advertised receiver window
  credit less than 1500, the endpoint should responded it with ABORT chunk
  including cause of invalid mandatory parameter.


SYNOPSIS

  ./InitAckWithSmallArwnd.seq [-tooloption ...] -pkt ./InitAckWithSmallArwnd.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 the
  data in endpoint A such that INIT-ACK message with Advertised Receiver
  Window Credit less than 1500 is sent to endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
                                                   <-----    Associate
                <-----------------       INIT
  INIT-ACK      ----------------->
  (with AdvRecvWindow less than 1500)
                <-----------------      ABORT
                                        (Invalid Mandatory Parameter)
  TEST DESCRIPTION:
  1. Attempt to make an association from endpoint A to endpoint B. Send 
     INIT-ACK message with Advertised Receiver Window Credit less than 1500.
     Record the message sequence using a signal emulator.
  2. Check A: INIT-ACK message is responded with ABORT including cause of 
     invalid mandatory parameter.


NOTE

  None


REFERENCE

  RFC 4960
  6.  User Data Transfer
    An SCTP receiver MUST be able to receive a minimum of 1500 bytes in
    one SCTP packet.  This means that an SCTP endpoint MUST NOT indicate
    less than 1500 bytes in its initial a_rwnd sent in the INIT or INIT
    ACK.