AsconfAckWithSetSuccess.seq - ASCONF-ACK chunk is received with Success Indication parameter indicating Set Primary Address success
To check that if ASCONF-ACK chunk is received with Success Indication parameter indicating Set Primary Address success then the endpoint should mark the specified address as the primary address to send data to.
./AsconfAckWithSetSuccess.seq [-tooloption ...] -pkt ./AsconfAckWithSetSuccess.def -tooloption : v6eval tool option See Also: ../common/STD_PKT_COMMON.def ../common/SCTP_COMMON.def
Association is established between endpoint A and B. Arrange the date in endpoint B such that ASCONF chunk with Set Primary Address Parameter is sent to endpoint A.
Endpoint A Endpoint B ULP (ESTABLISHED) (ESTABLISHED)
<----------------- ASCONF (Set Primary Address) ASCONF-ACK -----------------> (Success Indication)
TEST DESCRIPTION:
1. Sending ASCONF message with Set Primary Address Parameter from endpoint B to A. Record the message sequence using a signal emulator. 2. Send ASCONF-ACK message with Success Indication parameter indicating Set Primary Address success from endpoint A to B. 3. Check A: Endpoint B should mark the specified address as the primary address to send data to.
None
RFC 5061
4.2.4. Set Primary IP Address
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type =0xC004 | Length = Variable | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ASCONF-Request Correlation ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Address Parameter | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
ASCONF-Request Correlation ID: 32 bits
This is an opaque integer assigned by the sender to identify each request parameter. The receiver of the ASCONF Chunk will copy this 32-bit value into the ASCONF Response Correlation ID field of the ASCONF-ACK response parameter. The sender of the ASCONF can use this same value in the ASCONF-ACK to find which request the response is for. Note that the receiver MUST NOT change this 32-bit value.
Address Parameter: TLV
This field contains an IPv4 or IPv6 address parameter as described in Section 3.3.2.1 of [RFC4960]. The complete TLV is wrapped within this parameter. It requests the receiver to mark the specified address as the primary address to send data to (see Section 5.1.2 of [RFC4960]). The receiver MAY mark this as its primary address upon receiving this request. If the address 0.0.0.0 or ::0 is provided, the receiver MAY mark the source address of the packet as its primary.