HP-UX SNAplus2 NOF Programmer's Guide

NOF Indications
PORT_INDICATION
Chapter 6 1167
PORT_INDICATION
This indication is generated when a port is activated or deactivated.
VCB Structure
typedef struct port_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 port_name[8]; /* port name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char reserva[20]; /* reserved */
} PORT_INDICATION;
Parameters
opcode
AP_PORT_INDICATION
primary_rc
AP_OK
data_lost
Specifies whether any previous port 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:
AP_YES
One or more previous portindications
were lost. Later fields in this VCB
may be set to zeros.