HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_STATISTICS
AP_QUERY_STATISTICS
name
Name of the LS or port for which statistics are required (as specied by the stats_type parameter). This is
an 8-byte ASCII string, padded on the right with spaces if the name is shorter than 8 bytes. SNAplus2 uses
this name to correlate the response to the correct link station or port.
stats_type
The type of resource for which statistics are requested.
Allowed values for SDLC:
AP_LS
Return LS statistics.
AP_PORT
Return port statistics.
For Token Ring / Ethernet / FDDI, this must be set to AP_LS.
For Enterprise Extender, this must be set to AP_LS.
table_type
The type of statistics information requested.
Allowed values for SDLC:
AP_STATS_TBL
Statistical information.
AP_OPER_TBL
Operational information.
For Token Ring / Ethernet / FDDI , this must be set to AP_STATS_TBL.
For Enterprise Extender, this must be set to AP_STATS_TBL.
reset_stats
Species whether to reset the statistics when this verb completes. This parameter applies only if table_type
is set to AP_STATS_TBL; it is ignored otherwise. Possible values are:
AP_YES
Reset the statistics; a subsequent QUERY_STATISTICS verb will contain only data gathered after this
verb was issued.
AP_NO
Do not reset the statistics; the data on this verb will be included in the data returned to a subsequent
QUERY_STATISTICS verb.
dlc_type
Type of the DLC. Possible values are:
AP_SDLC
Synchronous data link control
AP_TR
Token Ring
AP_ETHERNET
660