Dependent functions: SctpGetTsapCfg, SctpInitTSapCfg, SctpSetTsapCfg
The following SCTPTSapCfg structure contains TSAP 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 SctpInitTSapCfg and must not be overridden.
typedef struct _sctpTSapCfg /* Transport SAP Configuration */
{
S16 swtch; /* Protocol Switch */
S16 suId; /* Service User SAP Id */
U8 sel; /* Coupling selector for SCTP provider */
U8 ent; /* Service Provider Entity */
U8 inst; /* Service Provider Instance */
U8 spare1; /* alignment */
U16 procId; /* Service Provider Processor Id */
U8 prior; /* Message priority for SCTP provider
/* messages */
U8 route; /* Route */
MemoryId memId; /* Memory region and pool id for SCTP provider *
SCTPNetAddrLst srcNAddrLst; /* Source Network Address List */
SCTPTSapReCfg reConfig; /* Reconfigurable parameters */
} SCTPTSapCfg;
The SCTPTSapCfg structure contains fields that you set the first time you call SctpSetTsapCfg. Once you use SctpSetTSapCfg, you cannot change the field values in this structure, unless you re-download the TX board and call SctpTSapCfg again.
The following table describes the fields in the SCTPTSapCfg structure that you can set:
Field |
Type |
Default |
Description |
suId |
S16 |
0 |
TSAP identifier. |
reConfig |
Structure |
Refer to structure |
Re-configurable TSAP configuration parameters, defined by SCTPTSapReCfg. |