Table of Contents Index NMS Glossary Previous Page Next Page (Page 21 of 29 in this chapter) Version


Mtp3NSapStatus

Description

Obtains network service access point status information from the MTP 3 task, including the NSAP state (bound or unbound) and the flow control state (on or off).

Prototype

MTP3_STATUS Mtp3NSapStatus (U8 board,
S16 nsapNo,
MTP3NSapStatus *pStatus)

board TX board number on which the desired MTP 3 task resides. This value must be from 1 to MAXBOARD (currently 8).

nsapNo NSAP number for which to obtain status information. This number must have previously defined via the Mtp3SetNSapCfg function.

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

Return Values

Details

Refer to the MTP3NSapStatus structure for detailed information.

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

typedef struct _Mtp3NSapStatus
                       /* MTP Level 3 - SAP status             */
{
  U8  sapState;        /* SAP state                            */
  U8  flcSt;           /* Flow control state                   */
  U8  spare1;          /* Alignment                            */
  U8  spare2;          /* Alignment                            */
  U32 congDiscard;     /* Messages discarded due to congestion */
} MTP3NSapStatus;
Field Name

Possible values

Description

sapState

SN_UNBND
SN_BND

State of the service access point.

Unbound. No application has bound to this SAP.
Bound. An application has bound to this SAP.

flcSt

TRUE
FALSE

Flow control state. If TRUE, flow control is on.

congDiscard

Any

Count of inbound messages discarded due to congestion.

See Also

Mtp3MgmtInit, Mtp3SetNSapCfg



Table of Contents Index NMS Glossary Previous Page Next Page (Page 21 of 29 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2002, NMS Communications Corporation. All rights reserved.