HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_DLUR_LU
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 pu_name[8]; /* PU name filter */
unsigned char filter; /* local / downstream filter */
} QUERY_DLUR_LU;
typedef struct dlur_lu_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU name */
} DLUR_LU_SUMMARY;
typedef struct dlur_lu_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU name */
unsigned char pu_name[8]; /* PU name of owning PU */
unsigned char dlus_name[17]; /* DLUS name if SSCP-LU session */
/* active */
unsigned char lu_location; /* downstream or local LU */
unsigned char nau_address; /* NAU address of LU */
unsigned char plu_name[17]; /* PLU name if PLU-SLU session */
/* active */
unsigned char reserv1[27]; /* reserved */
unsigned char rscv_len; /* length of appended RSCV */
} DLUR_LU_DETAIL;
Note
The DLUR_LU_DETAIL structure may be followed by a Route Selection Control Vector
(RSCV) as defined by SNA Formats. This control vector defines the session route through
the network and is carried on the BIND. This RSCV is included only if the node’s
configuration (specified using DEFINE_NODE) indicates that RSCVs should be stored
for DLUR sessions and if the PLU-SLU session is active.
3.113.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_DLUR_LU
buf_ptr
A pointer to a data buffer that SNAplus2 will use to return the requested information.
buf_size
Size of the supplied data buffer.
num_entries
Maximum number of DLUR LUs for which data should be returned. To request data for a specific LU rather
than a range, specify the value 1. To return as many entries as possible, specify zero; in this case, SNAplus2
will return the maximum number of entries that can be accommodated in the supplied data buffer.
417