(Page 13 of 26 in this chapter)
TxTpxIfShNext
Description
- Assists in handling a response packet to an interface Show Summary request.
Prototype
- short TxTpxIfShNext (TXMNGPKT *rsp,
unsigned short index,
TXAPISHNEXT *nextinfo)
- rsp Pointer to packet holding response to interface show summary.
- index Index to next interface summary to return.
- nextinfo Pointer to area where API can store information about this Show.
Return Values
- TX API completion code.
Details
- TxTpxIfShNext locates the next interface summary record in the response packet and returns the information from that structure. The interface type field will either indicate that all interfaces have been read (TPX_IFS_DONE) or the specific type of interface being returned.
- If DONE is returned, applications should use the repeatflag to determine whether an additional request must be issued to the communications processor. If set, the application should call TxTpxIfShSumm with the index value indicated (followed by a TxApiReqRsp call). If the repeatflag is not set, all interfaces have been read.
- If an interface type is returned, the application should perform any processing required on the returned interface description and then issue another call to TxTpxIfShNext to retrieve the next summary description.
See Also
- TxApiPktInit, TxTpxIfShSumm
(Page 13 of 26 in this chapter)
tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights
reserved.