HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF Indications
LU_0_TO_3_INDICATION
AP_LS_DLUS_DEFINED
The link station is a dynamic link station to a DLUR-served downstream PU, and was dened when
the local node received an ACTPU from a DLUS.
4.14 LU_0_TO_3_INDICATION
This indication is generated when the session status of a type 03 LU changes.
4.14.1 VCB Structure
typedef struct lu_0_to_3_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 pu_name[8]; /* PU Name */
unsigned char lu_name[8]; /* LU Name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char nau_address; /* NAU address */
unsigned char lu_sscp_sess_active; /* Is SSCP session active? */
unsigned char appl_conn_active; /* Is application using LU? */
unsigned char plu_sess_active; /* Is PLU-SLU session active? */
unsigned char host_attachment; /* Host attachment */
SESSION_STATS lu_sscp_stats; /* LU-SSCP session statistics */
SESSION_STATS plu_stats; /* PLU session statistics */
unsigned char sscp_id[6]; /* SSCP id */
} LU_0_TO_3_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 */
unsigned char ls_name[8]; /* Link station name */
unsigned char reserve; /* reserved */
785