HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_SESSION
Chapter 4926
AP_UINT16 send_ru_size; /* session send RU size */
AP_UINT16 max_send_btu_size; /* Maximum send BTU size */
AP_UINT16 max_rcv_btu_size; /* Maximum rcv BTU size */
AP_UINT16 max_send_pac_win; /* Maximum send pacing window size */
AP_UINT16 cur_send_pac_win; /* Current send pacing window size */
AP_UINT16 max_rcv_pac_win; /* Maximum receive pacing window */
/* size */
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_SESSION
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