HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_DOWNSTREAM_LU
Chapter 4 663
AP_UINT16 cur_rcv_pac_win; /* current receive pacing window size*/
AP_UINT32 send_data_frames; /* number of data frames sent */
AP_UINT32 send_fmd_data_frames; /* num fmd data frames sent */
AP_UINT32 send_data_bytes; /* number of data bytes sent */
AP_UINT32 rcv_data_frames; /* number of data frames received */
AP_UINT32 rcv_fmd_data_frames; /* num fmd data frames received */
AP_UINT32 rcv_data_bytes; /* number of data bytes received */
unsigned char sidh; /* session ID high byte (from LFSID) */
unsigned char sidl; /* session ID low byte (from LFSID) */
unsigned char odai; /* ODAI bit set */
unsigned char ls_name[8]; /* Link station name */
unsigned char pacing_type; /* type of pacing in use */
} SESSION_STATS;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_DOWNSTREAM_LU
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 downstream LUs for which data
should be returned. To request data for a speciļ¬c LU
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.
Combine this value using a logical OR
operation with one of the following
values:
AP_FIRST_IN_LIST