HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF Indications
DOWNSTREAM_LU_INDICATION
pipe_stats.sscp_lu_mus_sent
Number of SSCP-LU MUs sent to DLUS over the pipe.
4.7 DOWNSTREAM_LU_INDICATION
This indication is generated when either the LU-SSCP session or the PLU-SLU session between the downstream
LU and the host changes state between active and inactive. When one of these sessions becomes inactive, the
indication also includes session statistics for that session.
4.7.1 VCB Structure
typedef struct downstream_lu_indication
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char data_lost; /* previous indication lost */
unsigned char dspu_name[8]; /* PU name */
unsigned char ls_name[8]; /* Link station name */
unsigned char dslu_name[8]; /* LU name */
unsigned char description[32]; /* resource description */
unsigned char reserv3[16]; /* reserved */
unsigned char nau_address; /* NAU address */
unsigned char lu_sscp_sess_active; /* Is LU-SSCP session active */
unsigned char plu_sess_active; /* Is PLU-SLU session active */
unsigned char dspu_services; /* DSPU services */
unsigned char reserv1; /* reserved */
SESSION_STATS lu_sscp_stats; /* LU-SSCP session statistics */
SESSION_STATS ds_plu_stats; /* Downstream PLU-SLU session stats */
SESSION_STATS us_plu_stats; /* Upstream PLU-SLU session stats */
} DOWNSTREAM_LU_INDICATION;
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 */
764