HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_LOCAL_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 lu_name[8]; /* LU name */
unsigned char lu_alias[8]; /* LU alias */
unsigned char pu_name[8]; /* PU name filter */
} QUERY_LOCAL_LU;
typedef struct local_lu_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU name */
unsigned char lu_alias[8]; /* LU alias */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
} LOCAL_LU_SUMMARY;
typedef struct local_lu_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU name */
LOCAL_LU_DEF_DATA def_data; /* defined data */
LOCAL_LU_DET_DATA det_data; /* determined data */
} LOCAL_LU_DETAIL;
typedef struct local_lu_def_data
{
unsigned char description[32]; /* resource description */
unsigned char reserv1; /* reserved */
unsigned char security_list_name[14]; /* security access list name */
unsigned char reserv3; /* reserved */
unsigned char lu_alias[8]; /* local LU alias */
unsigned char nau_address; /* NAU address */
unsigned char syncpt_support; /* is Syncpoint supported? */
AP_UINT16 lu_session_limit; /* LU session limit */
unsigned char default_pool; /* is LU in the pool of default */
/* LUs? */
unsigned char reserv2; /* reserved */
unsigned char pu_name[8]; /* PU name */
unsigned char lu_attributes; /* LU attributes */
unsigned char sscp_id[6] /* SSCP ID */
unsigned char disable; /* disable or enable local LU */
ROUTING_DATA attach_routing_data; /* routing data for incoming */
/* attaches */
unsigned char reserv6; /* reserved */
unsigned char reserv4[7]; /* reserved */
unsigned char reserv5[16]; /* reserved */
} LOCAL_LU_DEF_DATA;
typedef struct local_lu_det_data
{
unsigned char lu_sscp_sess_active; /* Is LU-SSCP session active */
472