SCTPAssocSta

Dependent function: SctpAssocStatus

The following SCTPAssocSta structure contains status information for a specific SCTP association:

typedef struct _sctpAssocSta     /* Association related solicited status */
{
    U32                 assocId;          /* association identifier */
    U8                  assocState;       /* association state */
    U8                  spare1;           /* alignment */
    U16                 spare2;           /* alignment */
    SCTPNetAddrLst      dstNAddrLst;      /* destination network address list */
    SCTPNetAddrLst      srcNAddrLst;      /* source network address list */
    CmNetAddr           priNAddr;         /* primary network address */
    U16                 dstPort;          /* destination port */
    U16                 srcPort;          /* source port */
} SCTPAssocSta;

The SCTPAssocSta structure contains the following fields:

Field

Type

Description

assocId

U32

SCTP association identifier. The value of this field is zero (0) if the status is not available.

assocState

U8

Association state. Valid values are:

SCTP_ASSOC_STATE_CLOSED

No association is active or open.

SCTP_ASSOC_STATE_COOKIE_SENT

Association sent a cookie message to the service and is waiting for a cookie acknowledgement message.

SCTP_ASSOC_STATE_COOKIE_WAIT

Association is waiting for a cookie in an INIT ACK (Initiation Acknowledgement) message from the service user.

SCTP_ASSOC_STATE_ESTABLISHED

Association is established and ready for two-way communication.

SCTP_ASSOC_STATE_OPEN

Association is capable of accepting association requests from a remote peer.

SCTP_ASSOC_STATE_SDOWNACK_SENT

Association sent a SHUTDOWN ACK (Shutdown Acknowledgement) message to the service and is waiting for a SHUTDOWN COMPLETE message.

SCTP_ASSOC_STATE_SHUTDOWN_PEND

Association received a SHUTDOWN message from the service user.

SCTP_ASSOC_STATE_SHUTDOWN_RCVD

Association received a SHUTDOWN message from the service user and is waiting for outstanding data to be acknowledged

SCTP_ASSOC_STATE_SHUTDOWN_SENT

Association sent a SHUTDOWN message to the service and is waiting for a SHUTDOWN ACK (Shutdown Acknowledgement) message.

spare1

U8

Alignment.

spare2

U16

Alignment.

dstNAddrLst

SCTPNetAddrLst

Lists destination addresses that SCTP uses for this association, defined by SCTPNetAddrLst.

srcNAddrLst

SCTPNetAddrLst

Lists source network addresses that SCTP uses for this association, defined by SCTPNetAddrLst.

priNAddr

CmNetAddr

Primary network address for the association, defined by CmNetAddr.

dstPort

U16

Port number for the remote SCTP endpoint in the association.

srcPort

U16

Port number for the local SCTP endpoint in the association.