HP-UX SNAplus2 MS Programmer's Guide

Management Services Indications
MDS_MU_RECEIVED
Chapter 4 101
MDS_MU_RECEIVED
SNAplus2 uses this data indication to route an MDS_MU to an
MDS-level application in the following cases:
A remote MDS-level application has sent an MDS_MU, and this
application has used REGISTER_MS_APPLICATION to accept
MDS_MUs.
A remote application has sent an NMVT, and this application has
used REGISTER_NMVT_APPLICATION to accept NMVTs after
conversion to MDS_MUs. For information about how SNAplus2
determines which MS application receives an incoming NMVT, see
“NMVT Routing”.
To return the MDS_MU_RECEIVED indication, SNAplus2 uses the
callback routine that the application supplied on the
REGISTER_MS_APPLICATION or 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 mds_mu_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 first_message; /* First message for current MDS_MU */
unsigned char last_message; /* Last message for current MDS_MU */
unsigned char pu_name[8]; /* Physical unit name */
unsigned char reserv3[8]; /* reserved */
unsigned short mds_mu_length; /* Length of incoming MDS_MU */
unsigned char *mds_mu; /* MDS_MU data */
} MDS_MU_RECEIVED;
Parameters
SNAplus2 includes the following parameters when it sends the
MDS_MU_RECEIVED indication to the MS application: