HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_LU_0_TO_3
Chapter 4762
QUERY_LU_0_TO_3
QUERY_LU_0_TO_3 returns information about local LUs of type 0, 1, 2,
or 3. This information is structured as “determined data” (data gathered
dynamically during execution, returned only if the node is active) and
“defined data” (the data supplied by the application on
DEFINE_LU_0_TO_3).
This verb can be used to obtain either summary or detailed information,
about a specific LU or about multiple LUs, depending on the options
used.
VCB Structure
typedef struct query_lu_0_to_3
{
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 pu_name[8]; /* PU name filter */
unsigned char lu_name[8]; /* LU name */
unsigned char host_attachment; /* host attachment filter */
} QUERY_LU_0_TO_3;
typedef struct lu_0_to_3_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char pu_name[8]; /* PU name */
unsigned char lu_name[8]; /* LU name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char nau_address; /* NAU address */
unsigned char lu_sscp_sess_active; /* Is LU-SSCP session active */
unsigned char appl_conn_active; /* Is connection to appl active */
unsigned char plu_sess_active; /* Is PLU-SLU session active */