HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_PORT
Chapter 4884
/* that can be received */
AP_UINT16 target_pacing_count; /* target pacing count */
AP_UINT16 max_send_btu_size; /* maximum send BTU size */
LINK_ADDRESS dlc_data; /* DLC data */
LINK_ADDRESS hpr_dlc_data; /* reserved */
unsigned char implicit_cp_cp_sess_support; /* implicit links allow */
/* CP-CP sessions */
unsigned char implicit_limited_resource; /* implicit links are */
/* limited resource */
unsigned char implicit_hpr_support; /* reserved */
unsigned char implicit_link_lvl_error; /* reserved */
unsigned char retired1; /* reserved */
TG_DEFINED_CHARS default_tg_chars; /* default TG chars */
unsigned char discovery_supported; /* reserved */
AP_UINT16 port_spec_data_len; /* length of port specific data */
AP_UINT16 link_spec_data_len; /* length of link specific data */
} PORT_DEF_DATA;
For more details of the link_address structure and the port-specific and
link-specific data, see “DEFINE_PORT” and
“DEFINE_DLC”port_def_data. The data structure for the port-specific
data follows the
structure, and the data structure for the link-specific data follows this;
both structures are padded to start on a 4-byte boundary.
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_PORT
overlay_size
For compatability with future releases of SNAplus2,
your application must use this field to determine the
exact length of the overlay structure returned, and
should not rely on the use of the sizeof() function.
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.