HP-UX SNAplus2 MS Programmer's Guide

Management Services Indications
NMVT_RECEIVED
Chapter 4106
NMVT_RECEIVED
SNAplus2 uses this data indication to route an NMVT received from a
remote node to an NMVT-level application that has registered to receive
NMVTs. For information about how SNAplus2 determines which MS
application receives an incoming NMVT, see “NMVT Routing”.
This indication is returned using the callback routine that the
application supplied on the REGISTER_NMVT_APPLICATION verb.
For more information about the requirements for this callback routine,
see “The Callback Routine Specified on the ms_async Entry Point”.
VCB Structure
typedef struct nmvt_received
{
unsigned short opcode; /* Verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
unsigned short primary_rc; /* Primary return code */
unsigned long secondary_rc; /* Secondary return code */
unsigned char pu_name[8]; /* Physical unit name */
unsigned char reserv3[6]; /* reserved */
unsigned short nmvt_length; /* Length of incoming NMVT */
unsigned char *nmvt; /* NMVT data */
} NMVT_RECEIVED;
Parameters
SNAplus2 includes the following parameters when it sends the
NMVT_RECEIVED indication to the MS application:
opcode
AP_NMVT_RECEIVED
pu_name
Name of the physical unit from which the NMVT
originated. This is an 8-byte EBCDIC type-A string,
padded on the right with EBCDIC spaces if the name is
shorter than 8 bytes.