HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_RTP_CONNECTION
Combine this value using a logical OR operation with one of the following values:
AP_FIRST_IN_LIST
Start at the rst entry in the list.
AP_LIST_INCLUSIVE
Start at the entry specied by the rtp_name parameter.
AP_LIST_FROM_NEXT
Start at the entry immediately following the entry specied by the rtp_name parameter.
rtp_name
Name of the RTP connection. This value is ignored if the list_options parameter is set to
AP_FIRST_IN_LIST. This is an 8-byte ASCII string, padded on the right with spaces if the name is
shorter than 8 bytes.
3.154.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
buf_size
Length of the information returned in the buffer.
total_buf_size
Returned value indicating the size of buffer that would have been required to return all the list information
requested. This may be higher than buf_size.
num_entries
The number of entries actually returned.
total_num_entries
Total number of entries that could have been returned. This may be higher than num_entries.
rtp_connection_summary.overlay_size
The size of the returned
rtp_connection 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
rtp_connection_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.
rtp_connection_summary.rtp_name
Name of the RTP connection. This is an 8-byte ASCII string, padded on the right with spaces if the name is
shorter than 8 bytes.
rtp_connection_summary.rst_hop_ls_name
Name of the link station of the rst hop of the RTP connection. This is an 8-byte ASCII string, padded on
the right with spaces if the name is shorter than 8 bytes.
rtp_connection_summary.dest_node_name
635