SctpStatusInd

Namespace inet

SctpStatusInd

enum

SCTP indications, sent by SCTP to the application. SCTP will set these constants as message kind on messages it sends to the application.

See also: SctpCommand, SctpStatusInfo, Sctp

Source code

//
// SCTP indications, sent by SCTP to the application. SCTP will set these
// constants as message kind on messages it sends to the application.
//
// @see SctpCommand, SctpStatusInfo, Sctp
//
enum SctpStatusInd
{
    SCTP_I_DATA = 1; // data packet (set on data packet)
    SCTP_I_DATA_NOTIFICATION = 2; // data arrived notification
    SCTP_I_ESTABLISHED = 3; // connection established
    SCTP_I_PEER_CLOSED = 4; // FIN received from remote SCTP
    SCTP_I_CLOSED = 5; // connection closed normally (via FIN exchange)
    SCTP_I_CONNECTION_REFUSED = 6; // connection refused
    SCTP_I_CONNECTION_RESET = 7; // connection reset
    SCTP_I_TIMED_OUT = 8; // conn-estab timer went off, or max retransm. count reached
    SCTP_I_STATUS = 9; // status info (will carry SctpStatusInfo)
    SCTP_I_ABORT = 10; // association was aborted by the peer
    SCTP_I_CONN_LOST = 11; // association had too many retransmissions FIXME
    SCTP_I_SEND_MSG = 12;
    SCTP_I_SHUTDOWN_RECEIVED = 13;
    SCTP_I_SENDQUEUE_FULL = 14;
    SCTP_I_SENDQUEUE_ABATED = 15;
    SCTP_I_ABANDONED = 16;
    SCTP_I_SEND_STREAMS_RESETTED = 17;
    SCTP_I_RCV_STREAMS_RESETTED = 18;
    SCTP_I_RESET_REQUEST_FAILED = 19;
    SCTP_I_ADDRESS_ADDED = 20; // used for AddIP and multihomed NAT
    SCTP_I_SENDSOCKETOPTIONS = 21;
    SCTP_I_AVAILABLE = 22;
}

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