Message SCTPStatusInfo

File: src/inet/transportlayer/contract/sctp/SCTPCommand.msg

C++ definition

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

See also: SctpStatusInd, SctpCommandCode, SCTP

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

Name Type Description
SCTPCommand packet

Control info for SCTP connections. This message 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 submessagees.

Fields:

Name Type Description
state int
stateName string
pathId L3Address
active bool
assocId int

identifies the socket within the application

sid int
numMsgs int
ssn int
sendUnordered unsigned short
prValue double
localAddr L3Address
remoteAddr L3Address
localPort int
remotePort int
gate int
fd int

Source code:

//
// Sent with message kind SCTP_I_STATUS, in response to command SCTP_C_STATUS.
// For explanation of variables, see RFC 4960 or SCTPStateVariables in
// SCTPAssociation.h.
//
// @see ~SctpStatusInd, ~SctpCommandCode, ~SCTP
//
message SCTPStatusInfo extends SCTPCommand
{
    int state;
    string stateName;
    L3Address pathId;
    bool active;
}