HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_ISR_SESSION
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_NOT_CENTRAL_LOGGER
The verb was issued to a node that is not the central logger.
3.122.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.123 QUERY_ISR_SESSION
QUERY_ISR_SESSION returns list information about the sessions for which a network node is providing
intermediate session routing.
This verb can be used to obtain information about a specic session, or about a number of sessions, depending on
the options used. It can be used only if the SNAplus2 node is a network node, and is not valid if it is an end node
or LEN node.
This list is ordered by fqpcid.pcid rst and then by EBCDIC lexicographical ordering on fqpcid.fqcp_name. The
format of the
fqpcid structure is an 8-byte PCID (Procedure Correlator Identier) and the network qualied CP name
of the session originator.
This verb must be issued to a running node.
3.123.1 VCB Structure
typedef struct query_isr_session
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
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 session_type; /* is this query for DLUR or regular*/
/* ISR sessions? */
FQPCID fqpcid; /* fully qualified procedure */
/* correlator ID */
} QUERY_ISR_SESSION;
typedef struct isr_session_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
FQPCID fqpcid; /* fully qualified procedure */
/* correlator ID */
} ISR_SESSION_SUMMARY;
462