HP-UX SNAplus2 NOF Programmer's Guide

NOF Indications
DOWNSTREAM_PU_INDICATION
Chapter 61130
DOWNSTREAM_PU_INDICATION
This indication is generated when the PU-SSCP session between the
downstream PU and the host changes state between active and inactive.
When the session becomes inactive, the indication also includes
PU-SSCP session statistics.
VCB Structure
typedef struct downstream_pu_indication
{
unsigned short opcode; /* verb operation code */
unsigned char reserv2[2]; /* 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 description[32]; /* resource description */
unsigned char reserv3[16]; /* reserved */
unsigned char ls_name[8]; /* Link station name */
unsigned char pu_sscp_sess_active; /* Is PU-SSCP session active */
unsigned char dspu_services; /* DSPU services */
unsigned char reserv1[2]; /* reserved */
SESSION_STATS pu_sscp_stats; /* PU-SSCP session statistics */
} DOWNSTREAM_PU_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 */
unsigned long rcv_fmd_data_frames; /* num fmd data frames received */
unsigned long 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 */