HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_DOWNSTREAM_LU
Chapter 4 661
QUERY_DOWNSTREAM_LU
QUERY_DOWNSTREAM_LU returns information about downstream
LUs that use PU concentration or DLUR or both. This information is
structured as determined data (data gathered dynamically during
execution, returned only if the node is active) and defined data (data
supplied on DEFINE_DOWNSTREAM_LU). For DLUR-supported LUs,
implicitly defined data is put in place when the downstream LU is
activated.
This verb can be used to obtain information about a specific LU, or about
multiple LUs, depending on the options used.
VCB Structure
typedef struct query_downstream_lu
{
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 *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char dslu_name[8]; /* Downstream LU name */
unsigned char dspu_name[8]; /* Downstream PU name filter */
unsigned char dspu_services; /* services provided to LU */
} QUERY_DOWNSTREAM_LU;
typedef struct downstream_lu_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char dslu_name[8]; /* LU name */
unsigned char dspu_name[8]; /* PU name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char dspu_services; /* Type of services provided */
/* to downstream LU */
unsigned char nau_address; /* NAU address */