Class SCTPSendCommand

File: src/transport/contract/SCTPCommand.msg

Control info to be used with the SEND command.

See also: 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
assocId int

identifies the socket within the application

lifetime double
last bool
ppid unsigned int
numMsgs int
primary bool
ssn int
sendUnordered unsigned short
localAddr IPvXAddress
remoteAddr IPvXAddress
gate int

Source code:

//
// Control info to be used with the SEND command.
//
// @see TcpCommandCode, SCTPMain
//
class SCTPSendCommand extends SCTPCommand
{
    bool last;
    unsigned int ppid = 0;
    bool primary = true;
}