HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_LS
Chapter 4734
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.
list_options
The position in the list from which SNAplus2 should
begin to return data, and the level of information
required for each entry. Specify the level of information
with one of the following values:
AP_SUMMARY
Summary information only.
AP_DETAIL
Detailed information.