SCTPSctSapCfg

Dependent functions: SctpGetSctSapCfg, SctpInitSctSapCfg, SctpSetSctSapCfg

The following SCTPSctSapCfg structure contains SCT SAP configuration parameters for SCTP. Bold text indicates fields you can set. Unbolded fields are either unused or for internal use only. They are set to correct values by SctpInitSctSapCfg and must not be overridden.

{
    S16             swtch;          /* Protocol Switch */
    S16             spId;           /* Service Provider SAP Id */

    MemoryId        memId;          /* Memory region and pool id for SCTP user */
    U8              sel;            /* Coupling selector for SCTP user */
    U8              prior;          /* Message priority for SCTP user messages */
    U8              route;          /* Route */
    U8              spare1;         /* alignment */
    SCTPSctSapReCfg reConfig;       /* Reconfigurable parameters */

} SCTPSctSapCfg;

The SCTPSctSapCfg structure contains fields that you set the first time you call SctpSetSctSapCfg. Once you call SctpSctSetSapCfg, you cannot change the field values in this structure, unless you re-download the TX board and call SctpSctSetSapCfg again.

The following table describes the fields in the SCTPSctSapCfg structure that you can set:

Field

Type

Default

Description

spId

S16

0

SAP identifier used by the SCTP layer. Only value is 0.

reConfig

SCTPSctSapReCfg

Refer to structure.

Re-configurable upper SAP parameters, defined by SCTPSctSapReCfg.