HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_LOCAL_LU
unsigned char appl_conn_active; /* application is using LU */
unsigned char reserv1[2]; /* reserved */
SESSION_STATS lu_sscp_stats; /* LU-SSCP session statistics */
unsigned char sscp_id[6]; /* SSCP ID */
} LOCAL_LU_DET_DATA;
typedef struct session_stats
{
AP_UINT16 rcv_ru_size; /* session receive RU size */
AP_UINT16 send_ru_size; /* session send Ru size */
AP_UINT16 max_send_btu_size; /* max send BTU size */
AP_UINT16 max_rcv_btu_size; /* max rcv BTU size */
AP_UINT16 max_send_pac_win; /* max send pacing window size */
AP_UINT16 cur_send_pac_win; /* current send pacing win size */
AP_UINT16 max_rcv_pac_win; /* max receive pacing win 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 of fmd data frames sent */
AP_UINT32 send_data_bytes; /* number of data bytes sent */
AP_UINT32 rcv_data_frames; /* num data frames received */
AP_UINT32 rcv_fmd_data_frames; /* num of fmd data frames recvd */
AP_UINT32 rcv_data_bytes; /* number of data bytes received*/
unsigned char sidh; /* session ID high byte */
unsigned char sidl; /* session ID low byte */
unsigned char odai; /* ODAI bit set */
unsigned char ls_name; /* link station name */
unsigned char pacing_type; /* type of pacing in use */
} SESSION_STATS;
typedef struct routing_data
{
unsigned char sys_name[128]; /* Name of target system for TP */
AP_INT32 timeout; /* timeout value in seconds */
unsigned char back_level; /* is target system back-level? */
unsigned char reserved[59]; /* reserved */
} ROUTING_DATA;
3.125.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_LOCAL_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 LUs for which data should be returned. To request data for a specific 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
473