HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_STATISTICS
Chapter 4 947
AP_UINT32 card_type; /* type of adapter card */
AP_UINT32 adapter_number; /* DLC adapter number */
AP_UINT32 oem_data_length; /* reserved */
int mux_ids[5]; /* reserved */
} V0_MUX_INFO;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_STATISTICS
name
Name of the LS or port for which statistics are required
(as speciļ¬ed 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.
table_type
The type of statistics information requested.
Allowed values for SDLC:
AP_STATS_TBL
Statistical information.
AP_OPER_TBL