HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_DOWNSTREAM_LU
Primary RUI application. For more information about Primary RUI, see HP-UX SNAplus2 LUA Programmers
Guide.
The returned information is structured as determined data (data gathered dynamically during execution, returned
only if the node is active) and dened data (data supplied on DEFINE_DOWNSTREAM_LU). For DLUR-supported
LUs, implicitly dened data is put in place when the downstream LU is activated.
This verb can be used to obtain information about a specic LU, or about multiple LUs, depending on the options
used.
3.117.1 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 dspu_name[8]; /* Downstream PU name filter */
unsigned char dslu_name[8]; /* Downstream LU name */
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 dspu_name[8]; /* PU name */
unsigned char dslu_name[8]; /* LU 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 */
unsigned char lu_sscp_sess_active; /* Is LU-SSCP session active */
unsigned char plu_sess_active; /* Is PLU-SLU session active */
} DOWNSTREAM_LU_SUMMARY;
typedef struct downstream_lu_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char dslu_name[8]; /* LU name */
unsigned char reserv1[2]; /* reserved */
DOWNSTREAM_LU_DET_DATA det_data; /* Determined data */
DOWNSTREAM_LU_DEF_DATA def_data; /* Defined data */
} DOWNSTREAM_LU_DETAIL;
typedef struct downstream_lu_det_data
{
unsigned char lu_sscp_sess_active; /* Is LU-SSCP session active */
unsigned char plu_sess_active; /* Is PLU-SLU session active */
unsigned char dspu_services; /* Type of service provided to */
/* downstream node */
433