HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_PARTNER_LU
Length of the information returned in the supplied buffer.
total_buf_size
Returned value indicating the size of buffer that would have been required to return all the list information
requested. A value greater than
buf_size indicates that not all the available entries were returned.
num_entries
Number of entries returned in the data buffer.
total_num_entries
Total number of entries available. A value greater than num_entries indicates that not all the available entries
were returned.
Each entry in the data buffer consists of the following parameters:
plu_summary.overlay_size
The size of the returned
plu_summary structure, and therefore the offset to the start of the next entry in the
data buffer.
When your application needs to go through the returned buffer to nd each
plu_summary structure in turn, it
must use this value to move to the correct offset for the next data structure, and must not use the C
sizeof()
operator. This is because the size of the returned overlay may increase in future releases of SNAplus2; using
the returned overlay size ensures that your application will continue to work with future releases.
plu_summary.plu_alias
Partner LU alias. This is an 8-byte ASCII string, padded on the right with spaces if the name is shorter than
8 bytes.
plu_summary.fqplu_name
17-byte fully qualied network name for the partner LU. The name is a 17-byte EBCDIC string, padded
on the right with EBCDIC spaces. It consists of a network ID of 18 A-string characters, an EBCDIC dot
(period) character, and a network name of 18 A-string characters.
plu_summary.description
A null-terminated text string describing the partner LU, as specied in the denition of the partner LU.
plu_summary.act_sess_count
Total number of active sessions between the local LU and the partner LU.
plu_summary.partner_cp_name
17-byte fully qualied network name for the CP associated with the partner LU. This parameter is not used
if partner_lu_located below is set to
AP_NO.
The name is a 17-byte EBCDIC string, padded on the right with EBCDIC spaces. It consists of a network
ID of up to 8 A-string characters, an EBCDIC dot (period) character, and a network name of up to 8 A-string
characters.
plu_summary.partner_lu_located
Species whether the local node has located the CP where the partner LU is located. Possible values are:
AP_YES
The partner LU has been located. The partner_cp_name parameter contains the CP name of the partner
LU.
AP_NO
The partner LU has not yet been located. The partner_cp_name parameter should not be checked.
plu_detail.overlay_size
600