HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_SESSION
unsigned char polarity; /* Session polarity */
unsigned char contention; /* Session contention */
SESSION_STATS sess_stats; /* Session statistics */
unsigned char reserv3a; /* reserved */
unsigned char sscp_id[6]; /* SSCP ID of host */
unsigned char reserva; /* reserved */
AP_UINT32 session_start_time; /* start time of the session */
AP_UINT16 session_timeout; /* session timeout */
unsigned char cryptography; /* reserved */
unsigned char reservb[5]; /* reserved */
unsigned char comp_in_series; /* reserved */
unsigned char plu_slu_comp_lvl; /* PLU to SLU compression level */
unsigned char slu_plu_comp_lvl; /* SLU to PLU compression level */
unsigned char rscv_len; /* Length of following RSCV */
} SESSION_DETAIL;
The session detail structure may be followed by a Route Selection Control Vector (RSCV) as defined by SNA
Formats. This control vector defines the session route through the network and is carried on the BIND. This RSCV
is included only if the node’s configuration (specified using DEFINE_NODE) indicates that endpoint RSCVs should
be stored.
typedef struct fqpcid
{
unsigned char pcid[8]; /* procedure correlator identifier */
unsigned char fqcp_name[17]; /* originator’s network qualified */
/* CP name */
unsigned char reserve3[3]; /* reserved */
} FQPCID;
typedef struct 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 max_rcv_pac_win; /* Maximum receive pacing window */
/* size */
AP_UINT16 cur_rcv_pac_win; /* Current receive pacing window */
/* size */
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 rcv_data_frames; /* Number of data frames received */
AP_UINT32 rcv_fmd_data_frames; /* Num fmd data frames received */
AP_UINT32 rcv_data_bytes; /* Number of data bytes received */
unsigned char sidh; /* Session ID high byte (from LFSID)*/
unsigned char sidl; /* Session ID low byte (from LFSID) */
unsigned char odai; /* ODAI bit set */
unsigned char ls_name[8]; /* Link station name (or RTP name) */
unsigned char pacing_type; /* type of pacing in use */
} SESSION_STATS;
3.157.2 Supplied Parameters
The application supplies the following parameters:
opcode
646