HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_DOWNSTREAM_LU
unsigned char reserv1; /* reserved */
SESSION_STATS lu_sscp_stats; /* LU-SSCP session statistics */
SESSION_STATS ds_plu_stats; /* Downstream PLU-SLU session */
/* statistics */
SESSION_STATS us_plu_stats; /* Upstream PLU-SLU session */
/* statistics */
unsigned char host_lu_name[8]; /* Determined host LU name */
unsigned char host_pu_name[8]; /* Determined host PU name */
unsigned char reserva[4]; /* reserved */
} DOWNSTREAM_LU_DET_DATA;
typedef struct downstream_lu_def_data
{
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char nau_address; /* downstream LU nau address */
unsigned char dspu_name[8]; /* Downstream PU name */
unsigned char host_lu_name[8]; /* Host LU or Pool name */
unsigned char allow_timeout; /* Allow timeout of host LU */
unsigned char delayed_logon; /* Allow delayed logon to */
/* host LU */
unsigned char reserv2[6]; /* reserved */
} DOWNSTREAM_LU_DEF_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; /* 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;
3.117.2 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
434