HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_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.
3.131.1 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 */
unsigned char host_attachment; /* LU’s host attachment */
} LU_0_TO_3_SUMMARY;
typedef struct lu_0_to_3_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU name */
unsigned char reserv1[2]; /* reserved */
LU_0_TO_3_DET_DATA det_data; /* Determined data */
LU_0_TO_3_DEF_DATA def_data; /* Defined data */
} LU_0_TO_3_DETAIL;
typedef struct lu_0_to_3_det_data
{
unsigned char lu_sscp_sess_active; /* Is LU-SSCP session active */
unsigned char appl_conn_active; /* Application is using LU */
unsigned char plu_sess_active; /* Is PLU-SLU session active */
unsigned char host_attachment; /* Host attachment */
SESSION_STATS lu_sscp_stats; /* reserved */
SESSION_STATS plu_stats; /* reserved */
unsigned char plu_name[8]; /* PLU name */
unsigned char session_id[8]; /* Internal ID of PLU-SLU sess */
unsigned char app_spec_det_data[256]; /* Application specified data */
unsigned char app_type; /* Type of application using LU */
unsigned char sscp_id[6]; /* sscp id */
515