Message SCTPConnectInfo

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

C++ definition

Sent with message kind SCTP_I_ESTABLISHED, to let the app know about the local and remote IP address and port.

See also: 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
remoteAddresses AddressVector
status int
inboundStreams int
outboundStreams int
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_ESTABLISHED, to let the app know
// about the local and remote IP address and port.
//
// @see ~SctpCommandCode, ~SCTP
//
message SCTPConnectInfo extends SCTPCommand
{
    AddressVector remoteAddresses;
    int status;
    int inboundStreams;
    int outboundStreams;
}