NAME

  InitSuppBothAddrType.seq - INIT chunk is received with Supported Address Field containing both IPv4 And IPv6 address types


PURPOSE

  To check that if INIT chunk is received with Supported Address Field
  containing only IPv6 Address type then the endpoint should acceptable
  the address type which is indicated in Supported Address Types parameter.


SYNOPSIS

  ./InitSuppBothAddrType.seq [-tooloption ...] -pkt ./InitSuppBothAddrType.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 chunk with Supported Address Field
  containing both IPv4/IPv6 Address type is sent in to endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
  INIT          ----------------->
  (with Supported Address Field IPv4/IPv6)
                <-----------------      INIT-ACK
  COOKIE-ECHO   ----------------->
                           
                <-----------------  COOKIE-ACK
  TEST DESCRIPTION:
  1. Attempt to make an association from endpoint A to B. Send INIT 
     message with Supported Address field containing both IPv6 and
     IPv4 Address type. 
     Record the message sequence using a signal emulator.
  2. Check A: Association is established between endpoint A and B.


NOTE

  None


REFERENCE

  RFC 4960
  5.1.2.  Handle Address Parameters
    The sender of INIT may include a 'Supported Address Types' parameter
    in the INIT to indicate what types of address are acceptable.  When
    this parameter is present, the receiver of INIT (initiate) MUST
    either use one of the address types indicated in the Supported
    Address Types parameter when responding to the INIT, or abort the
    association with an "Unresolvable Address" error cause if it is
    unwilling or incapable of using any of the address types indicated by
    its peer.