NAME

  AsconfDupCached.seq - ASCONF chunk is received with duplicate Peer Sequence Number and cached ASCONF-ACK response exists


PURPOSE

  To chech that if ASCONF chunk is received with duplicate Peer Sequence
  Number and cached ASCONF-ACK response exists then the endpoint should
  response with previously cached ASCONF-ACK.


SYNOPSIS

  ./AsconfDupCached.seq [-tooloption ...] -pkt ./AsconfDupCached.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 date
  in endpoint A such that ASCONF chunk with duplicate Peer Sequence
  Number is sent to endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (ESTABLISHED)                        (ESTABLISHED)
  ASCONF          ---------------->
  (Add IP Address)
                  <-----------------     ASCONF-ACK
                                         (Complete Success)
  ASCONF          ---------------->
  (duplicate Peer Sequence Number)
                  <-----------------     ASCONF-ACK
                                         (Complete Success)
  TEST DESCRIPTION:
  1. Send ASCONF chunk from endpoint A to B with Add IP Address.
  2. Check A: ASCONF-ACK with complete success should be received
     at endpoint A.
  3. Send ASCONF chunk with duplicate Peer Sequence Number from
     endpoint A to B with Add IP Address.
  4. Check B: The same ASCONF-ACK with complete success should be
     received at endpoint A.


NOTE

  None


REFERENCE

  RFC 5061
  5.2.  Upon Reception of an ASCONF Chunk
    After identification and verification of the association, the
    following should be performed to properly process the ASCONF Chunk:
    E2)  If the value found in the Sequence Number is less than the
         ('Peer- Sequence-Number' + 1), simply skip to the next ASCONF,
         and include in the outbound response packet any previously
         cached ASCONF-ACK response that was sent and saved that matches
         the Sequence Number of the ASCONF.  Note: It is possible that no
         cached ASCONF-ACK Chunk exists.  This will occur when an older
         ASCONF arrives out of order.  In such a case, the receiver
         should skip the ASCONF Chunk and not include ASCONF-ACK Chunk
         for that chunk.