HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF Indications
SESSION_INDICATION
Name of the server on which the SNA software has been started or stopped.
4.25 SESSION_INDICATION
This indication is generated when a session is activated or deactivated. When a session is deactivated, the verb
returns statistics on the usage of the session.
4.25.1 VCB Structure
typedef struct session_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 deactivated; /* has session been deactivated? */
unsigned char lu_name[8]; /* LU name */
unsigned char lu_alias[8]; /* LU alias */
unsigned char plu_alias[8]; /* partner LU alias */
unsigned char fqplu_name[17]; /* fully qualified partner LU name */
unsigned char mode_name[8]; /* mode name */
unsigned char session_id[8]; /* session ID */
FQPCID fqpcid; /* fully qualified procedure */
/* correlator ID */
AP_UINT32 sense_data; /* sense data */
unsigned char reserv1; /* reserved */
SESSION_STATS sess_stats; /* session statistics */
unsigned char sscp_id[6]; /* SSCP ID */
unsigned char plu_slu_comp_lvl; /* reserved */
unsigned char slu_plu_comp_lvl; /* reserved */
unsigned char comp_in_series; /* reserved */
unsigned char reserva[11]; /* reserved */
} SESSION_INDICATION;
typedef struct fqpcid
{
unsigned char pcid[8]; /* procedure correlator identifier */
unsigned char fqcp_name[17]; /* originator’s network qualified */
/* CP name */
unsigned char reserve3[3]; /* reserved */
} FQPCID;
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 */
807