HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_ISR_SESSION
typedef struct isr_session_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
AP_UINT16 sub_overlay_size; /* offset to appended RSCV */
FQPCID fqpcid; /* fully qualified procedure */
/* correlator ID */
unsigned char trans_pri; /* Transmission priority: */
unsigned char cos_name[8]; /* Class of Service name */
unsigned char ltd_res; /* Session spans a limited resource */
unsigned char reserv1[2]; /* reserved */
EXTENDED_SESSION_STATS pri_ext_sess_stats; /* primary hop session stats */
EXTENDED_SESSION_STATS sec_ext_sess_stats; /* secondary hop session stats */
unsigned char sess_lu_type; /* session LU type */
unsigned char sess_lu_level; /* session LU level */
unsigned char pri_tg_number; /* Primary session TG number */
unsigned char sec_tg_number; /* Secondary session TG number */
AP_UINT32 rtp_tcid; /* RTP TC identifier */
AP_UINT32 time_active; /* time elapsed since activation */
unsigned char isr_state; /* current state of ISR session */
unsigned char reserv2[11]; /* reserved */
unsigned char mode_name[8]; /* mode name */
unsigned char pri_lu_name[17]; /* primary LU name */
unsigned char sec_lu_name[17]; /* secondary LU name */
unsigned char pri_adj_cp_name[17]; /* primary stage adjacent CP name */
unsigned char sec_adj_cp_name[17]; /* secondary stage adjacent CP name */
unsigned char reserv3[3]; /* reserved */
unsigned char rscv_len; /* length of following RSCV */
} ISR_SESSION_DETAIL;
The ISR session detail structure may be followed by a Route Selection Control Vector (RSCV) as dened by SNA
Formats. This control vector denes the session route through the network and is carried on the BIND. This RSCV
is included only if the nodes conguration (specied using DEFINE_NODE) indicates that RSCVs should be stored
for ISR sessions.
typedef struct fqpcid
{
unsigned char pcid[8]; /* procedure correlator identifier */
unsigned char fqcp_name[17]; /* originators network qualified */
/* CP name */
unsigned char reserve3[3]; /* reserved */
} FQPCID;
typedef struct extended_session_stats
{
AP_UINT16 rcv_ru_size; /* session receive RU size */
AP_UINT16 send_ru_size; /* session send RU size */
AP_UINT16 max_send_btu_size; /* maximum send BTU size */
AP_UINT16 max_rcv_btu_size; /* maximum rcv BTU size */
AP_UINT16 max_send_pac_win; /* maximum send pacing window size */
AP_UINT16 cur_send_pac_win; /* current send pacing window size */
AP_UINT16 send_rpc; /* send residual pacing count */
AP_UINT16 max_rcv_pac_win; /* maximum rcv pacing window size */
AP_UINT16 cur_rcv_pac_win; /* current rcv pacing window size */
AP_UINT16 rcv_rpc; /* receive residual pacing count */
AP_UINT32 send_data_frames; /* number of data frames sent */
AP_UINT32 send_fmd_data_frames; /* num fmd data frames sent */
AP_UINT32 send_data_bytes; /* number of data bytes sent */
AP_UINT32 send_fmd_data_bytes; /* number of fmd data bytes sent */
AP_UINT32 rcv_data_frames; /* number of data frames received */
AP_UINT32 rcv_fmd_data_frames; /* num fmd data frames received */
463