HP-UX SNAplus2 NOF Programmer's Guide

NOF Indications
MODE_INDICATION
Chapter 61158
MODE_INDICATION
This indication is sent when a local LU and partner LU start to
communicate using a particular mode, or when the active session count
for the LU-LU-mode combination changes.
VCB Structure
typedef struct mode_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 removed; /* is entry being removed? */
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 description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
AP_UINT16 curr_sess_count; /* current session count */
unsigned char reserva[20]; /* reserved */
} MODE_INDICATION;
Parameters
opcode
AP_MODE_INDICATION
primary_rc
AP_OK
data_lost
Specifies whether any previous mode indications have
been lost. If SNAplus2 detects a condition that
prevents it from sending an indication (for example an
internal resource shortage), it indicates this by setting
the
data_lost
parameter on the next indication after
the condition has cleared. Possible values are: