Dependent function: None.
The following SCTPGenReCfg structure contains re-configurable general SCTP configuration parameters. Bold text indicates fields you can modify. The spare1 field is for internal use only and must not be overridden.
typedef struct _sctpGenReCfg /* SCTP General Reconfiguration */
{
U8 maxInitReTx; /* Maximum Association Init Retransmits */
U8 maxAssocReTx; /* Maximum Retransmissions for an association */
U8 maxPathReTx; /* Maximum Retransmission for a destination address */
Bool altAcceptFlg; /* Accept or don't accept additional life time parameter */
/* for init from peer */
U16 keyTm; /* Initial value for MD5 key expiry timer */
U16 alpha; /* Used in RTT calculations */
U16 beta; /* Used in RTT calculations */
U16 spare1; /* alignment */
} SCTPGenReCfg;
SCTPGenReCfg is a substructure to SCTPGenCfg. Unlike with SCTPGenCfg, you can modify the field values for the bolded fields at any time.
The SCTPGenReCfg structure contains the following fields. Fields not listed in the table are either unused or for internal use only.
Field |
Type |
Default |
Description |
maxInitReTx |
U8 |
0 |
Maximum number of retries for the Initiation (INIT) message to open an association. Valid range is 0 - 255. When maxInitReTx is reached, the association is terminated, and M3UA is notified. M3UA will immediately attempt to reestablish the association with new TSN and InitTag values. INIT retry attempts are rotated through all known IP addresses for the destination. Set to 0 for infinite retries. |
maxAssocReTx |
U8 |
10 |
Maximum number of datagram re-transmissions for an association. The endpoint will be declared unreachable after maxAssocReTx number of consecutive re-transmissions to an endpoint on any transport address. Valid range is 0 to 255. |
maxPathReTx |
U8 |
5 |
Maximum number of datagram re-transmissions to a destination address. The destination address will be declared unreachable after maxPathReTx number of consecutive re-transmissions to a destination address. Valid range is 0 to 255. |
altAcceptFlg |
Bool |
FALSE |
If TRUE, accepts an additional parameter from the peer to extended cookie lifetime. |
keyTm |
U16 |
60000 |
Lifetime of an MD5 key. A new private key is generated when this timer expires. Valid range is 1 - 65535. |
alpha |
U16 |
12 |
Used for round trip time (RTT) calculations. |
beta |
U16 |
25 |
Used for RTT calculations. |