NAME

  InitWithZeroArwnd.seq - INIT chunk is received with advertised receiver window credit set to zero


PURPOSE

  To check that if INIT chunk is received with advertised receiver window
  credit set to zero, the endpoint should responded it with ABORT chunk
  including cause of invalid mandatory parameter.


SYNOPSIS

  ./InitWithZeroArwnd.seq [-tooloption ...] -pkt ./InitWithZeroArwnd.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 message with Advertised Receiver
  Window Credit set to zero is sent to endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
  INIT          ----------------->
  (with AdvRecvWindow = 0)
                <-----------------      ABORT
                                        (Invalid Mandatory Parameter)
  TEST DESCRIPTION:
  1. Attempt to make an association from endpoint A to endpoint B. Send 
     INIT message with Advertised Receiver Window Credit set to zero.
     Record the message sequence using a signal emulator.
  2. Check A: INIT 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.