(Page 23 of 29 in this chapter) Version


Mtp3RouteStatus

Description

Obtains routing status information about the route associated with the specified destination point code.

Prototype

MTP3_STATUS Mtp3RouteStatus (U8 board,
U32 dpc,
MTP3RouteStatus *pStatus)

board TX board number on which the desired MTP 3 task resides. Valid range is 1 to MAXBOARD (currently 8).

dpc Destination point code associated with the desired route.

pStatus Pointer to a buffer provided by the application where the requested status information will be returned.

Return Values

Details

Route status information includes the route state, the number of active link sets, the number of congested link sets, and whether the route is congested or the signaling point is restarting. Refer to the MTP3RouteStatus structure for detailed information.

This structure is filled by the MTP 3 task in response to an Mtp3RouteStatus request.

typedef struct _Mtp3RouteStatus      /* MTP Level 3 - route status    */
{
  U32   dpc;                         /* Destination point code        */
  U16   nmbActvLnkSets;              /* Number of active link sets    */
  U16   nmbCongLnkSets;              /* Number of congested link sets */
  U8    state;                       /* Route state                   */
  Bool  cong;                        /* Route set is congested        */
  Bool  rstFlg;                      /* SP restarting flag            */
} MTP3RouteStatus;
Field Name

Possible values

Description

dpc

0 - 0xFFFFFF

Destination point code associated with this route.

nmbActvLnkSets

0 - 16

Number of active link sets.

nmbCongLnkSets

0 - 16

Number of congested link sets.

state

0
1

Route state:

Route unavailable
Route available

cong

True
False

Route congestion state:

Route is congested
Route is not congested

rstFlg

True

False

Signaling point restarting flag:

Waiting to send traffic restart allowed to this destination

Not waiting to send traffic restart allowed to this destination

See Also

Mtp3MgmtInit



(Page 23 of 29 in this chapter) Version


tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.