High Availability Monitors Version A.03.02 Release Notes
NOF API Verbs (QUERY Verbs)
QUERY_STATISTICS
Chapter 4 929
V0_MUX_INFO mux_info; /* streams config info */
AP_UINT32 ls_st_mus_sent; /* Frames sent from this Link Station */
AP_UINT32 ls_st_mus_received; /* Frames received at this Link */
/* Station */
AP_UINT32 ls_st_bytes_sent; /* Bytes sent from this Link Station */
AP_UINT32 ls_st_bytes_received; /* Bytes received at this Link Station*/
} VDL_LS_STATISTICS;
typedef struct v0_mux_info
{
AP_UINT16 dlc_type; /* DLC implementation type */
unsigned char need_vrfy_fixup; /* reserved */
unsigned char num_mux_ids; /* reserved */
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