(Page 9 of 29 in this chapter) Version
typedef struct _Mtp3SetGenCfg
{
U8 typeSP; /* Type of signaling point */
U8 spare1; /* Alignment */
U32 spCode1; /* Local Point Code for CCITT
* version */
U32 spCode2; /* Local Point Code for ANSI
* version */
Bool ssfValid; /* True if ssf validation
* required. */
Bool rstReq; /* True if restarting procedure
* required. */
U16 nmbLinks; /* Max number of MTP Data Link
* SAPs */
U16 nmbNSap; /* Max number of Network Layer
* Saps */
U16 nmbLnkSets; /* Max number of link sets */
U16 nmbRouts; /* Max number of routing
* entries */
U16 nmbRteInst; /* Max number of concurrent Route
* instances. */
U8 nmbMasks; /* Number of masks */
U8 spare2; /* Alignment */
U32 masks[MTP3MAXMASKS]; /* Route masks */
S16 cbTimeRes; /* Link timer resolution */
S16 icbTimeRes; /* Route instance timer
* resolution */
S16 spTimeRes; /* Signaling point timer
* resolution */
S16 rteTimeRes; /* Route timer resolution */
MTP3GenTimerCfg tmr; /* General timers configuration.*/
PDesc stkmgr; /* Stack manager (unused) */
} MTP3SetGenCfg;
Note: The spCode1 and spCode2 fields in the MTP3SetGenCfg structure store the local point code. spCode1 is used by MTP 3 if the link type is CCITT or a variant thereof. spCode2 is used by MTP 3 if the link type is ANSI or a variant thereof. Both fields are set to the same value (the opc parameter) by the Mtp3InitGenCfg function. If a signaling point is acting as a gateway between CCITT and ANSI networks, or otherwise uses both types of point codes (14 and 24 bit), the application may override the defaults and specify different values for spCode1 and spCode2.
typedef struct _Mtp3GenTimerCfg
{
TimerCfg t15; /* Waiting to start route set congestion test */
TimerCfg t16; /* Waiting for route set congestion status update */
TimerCfg t18; /* Waiting for links to become available */
TimerCfg t19; /* Waiting to receive all traffic restart allowed */
TimerCfg t20; /* Waiting to broadcast traffic restart allowed */
TimerCfg t21; /* Waiting to restart traffic routed through adjacent
* SP */
TimerCfg t26; /* Waiting to repeat traf restart waiting msg for
* ANSI */
TimerCfg t29; /* Started when TRA sent for unexpected TRA or TRW */
TimerCfg t30; /* Route instance timer */
} MTP3GenTimerCfg;
(Page 9 of 29 in this chapter) Version