HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_PORT
unsigned char implicit_dspu_services; /* reserved */
unsigned char implicit_deact_timer; /* deact timer for implicit LSs */
AP_UINT16 act_xid_exchange_limit; /* activation XID exchange limit */
AP_UINT16 nonact_xid_exchange_limit; /* non-act. XID exchange */
/* limit */
unsigned char ls_xmit_rcv_cap; /* LS transmit-receive capability*/
unsigned char max_ifrm_rcvd; /* maximum number of I-frames */
/* 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; /* Implicit links support HPR */
unsigned char implicit_link_lvl_error; /* Send HPR traffic on implicit */
/* links using link-level error */
/* recovery? */
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, see Section 3.129, QUERY_LS; for more details of the port-specific
and link-specific data, see Section 3.39, DEFINE_PORT and Section 3.29, DEFINE_LS. The data structure for the
port-specific data follows the
port_def_data structure, and the data structure for the link-specific data follows this;
both structures are padded to start on a 4-byte boundary.
3.149.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_PORT
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 ports for which data should be returned. To request data for a specific port 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.
list_options
The position in the list from which SNAplus2 should begin to return data, and the level of information required
for each entry. Specify the level of information with one of the following values:
AP_SUMMARY
Summary information only.
AP_DETAIL
610