HP-UX SNAplus2 NOF Programmer's Guide
NOF Indications
DOWNSTREAM_LU_INDICATION
Chapter 61124
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.
VCB Structure
typedef struct downstream_lu_indication
{
unsigned short opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
unsigned short primary_rc; /* primary return code */
unsigned long 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
{
unsigned short rcv_ru_size; /* session receive RU size */
unsigned short send_ru_size; /* session send RU size */
unsigned short max_send_btu_size; /* maximum send BTU size */
unsigned short max_rcv_btu_size; /* maximum rcv BTU size */
unsigned short max_send_pac_win; /* maximum send pacing window size */
unsigned short cur_send_pac_win; /* current send pacing window size */
unsigned short max_rcv_pac_win; /* maximum receive pacing window size*/
unsigned short cur_rcv_pac_win; /* current receive pacing window size*/
unsigned long send_data_frames; /* number of data frames sent */
unsigned long send_fmd_data_frames; /* num fmd data frames sent */
unsigned long send_data_bytes; /* number of data bytes sent */
unsigned long rcv_data_frames; /* number of data frames received */