High Availability Monitors Version A.03.02 Release Notes

NOF API Verbs (QUERY Verbs)
QUERY_LS
Chapter 4 719
AP_UINT32 out_xid_bytes; /* number of XID bytes sent */
AP_UINT32 out_msg_bytes; /* number of message bytes sent */
AP_UINT32 out_xid_frames; /* number of XID frames sent */
AP_UINT32 out_msg_frames; /* number of message frames sent */
AP_UINT32 in_invalid_sna_frames; /* number of invalid frames */
/* received */
AP_UINT32 in_session_control_frames; /* number of control frames */
/* received */
AP_UINT32 out_session_control_frames; /* number of control frames */
/* sent */
AP_UINT32 echo_rsps; /* reserved */
AP_UINT32 current_delay; /* reserved */
AP_UINT32 max_delay; /* reserved */
AP_UINT32 min_delay; /* reserved */
AP_UINT32 max_delay_time; /* reserved */
AP_UINT32 good_xids; /* successful XID on LS count */
AP_UINT32 bad_xids; /* unsuccessful XID on LS count */
} LS_STATS;
For more details of the link-specific data, see “DEFINE_LS”. The data
structure for this data follows the ls_def_data structure, but is padded
to start on a 4-byte boundary.
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_LS
overlay_size
For compatability with future releases of SNAplus2,
your application must use this field to determine the
exact length of the overlay structure returned, and
should not rely on the use of the sizeof() function.
buf_ptr
A pointer to a data buffer that SNAplus2 will use to
return the requested information.
buf_size
Size of the supplied data buffer.
num_entries
Maximum number of LSs for which data should be
returned. To request data for a specific LS rather than
a range, specify the value 1. To return as many entries
as possible, specify zero; in this case, SNAplus2 will
return the maximum number of entries that can be
accommodated in the supplied data buffer.