Class SCTPStatusInfo

File: src/transport/contract/SCTPCommand.msg

Sent with message kind SCTP_I_STATUS, in response to command SCTP_C_STATUS. For explanation of variables, see RFC 793 or SCTPStateVariables in SCTPConnection.h.

See also: TcpStatusInd, TcpCommandCode, SCTPMain

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

SCTPCommand (class)

Control info for SCTP connections. This class is to be set as control info (see cMessage::setControlInfo()) on all messages exchanged between SCTP and application, in both directions. Some commands and indications (SCTP_C_OPEN_xxx, SCTP_I_STATUS) use subclasses.

Fields:

Name Type Description
sid int
lifetime double
pathId IPvXAddress
numMsgs int
state int
ssn int
gate int
assocId int

identifies the socket within the application

stateName string
sendUnordered unsigned short
active bool
localAddr IPvXAddress
remoteAddr IPvXAddress

Source code:

//
// Sent with message kind SCTP_I_STATUS, in response to command SCTP_C_STATUS.
// For explanation of variables, see RFC 793 or SCTPStateVariables in
// SCTPConnection.h.
//
// @see TcpStatusInd, TcpCommandCode, SCTPMain
//
class SCTPStatusInfo extends SCTPCommand
{
    int state;
    string stateName;
    IPvXAddress pathId;
    bool active;
}