NAME

  InvalidLengthInInit.seq - INIT chunk is received with invalid chunk length


PURPOSE

  To check that if INIT chunk is received with invalid chunk length, the
  endpoint should discard the packet.


SYNOPSIS

  ./InvalidLengthInInit.seq [-tooloption ...] -pkt ./InvalidLengthInInit.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 it sends INIT message to endpoint B
  with invalid chunk length.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
  INIT          ----------------->       Discard INIT
  (with Invalid Chunk Length)
  TEST DESCRIPTION:
  1. Attempt to initiate an association from endpoint A to B. Send INIT 
     message with invalid chunk length.
     Record the message sequence using a signal emulator.
  2. Check A: INIT message is discarded and no other actions are taken. 
  3. Check B: Was the message sequence as above.


NOTE

  None


REFERENCE

  RFC 4960
  Normally, this would cause an ABORT with a Protocol Violation
  error, but since we don't have an association, we'll just
  discard the packet.