HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_RTP_CONNECTION
} QUERY_RTP_CONNECTION;
typedef struct rtp_connection_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char rtp_name[8]; /* RTP connection name */
unsigned char first_hop_ls_name[8]; /* LS name of first hop */
unsigned char dest_node_name[17]; /* fully qualified name of */
/* destination node */
unsigned char connection_type; /* LU-LU or CP-CP connection? */
unsigned char cos_name[8]; /* class of service name */
AP_UINT16 num_sess_active; /* number of active sessions */
} RTP_CONNECTION_SUMMARY;
typedef struct rtp_connection_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char rtp_name[8]; /* RTP connection name */
unsigned char first_hop_ls_name[8]; /* LS name of first hop */
unsigned char dest_node_name[17]; /* fully qualified name of */
/* destination node */
unsigned char isr_boundary_fn; /* is conn used for Boundary Func? */
unsigned char connection_type; /* LU-LU or CP-CP connection? */
unsigned char reserv1; /* reserved */
unsigned char cos_name[8]; /* class of service name */
AP_UINT16 max_btu_size; /* maximum BTU size */
AP_UINT32 liveness_timer; /* liveness timer */
unsigned char local_tcid[8]; /* local tcid */
unsigned char remote_tcid[8]; /* remote tcid */
RTP_STATISTICS rtp_stats; /* RTP statistics */
AP_UINT16 num_sess_active; /* number of active sessions */
unsigned char arb_mode; /* ARB-S or ARB-R? */
unsigned char reserv2[15]; /* reserved */
AP_UINT16 rscv_len; /* length of appended RSCV */
} RTP_CONNECTION_DETAIL;
The 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 endpoint RSCVs should
be stored.
typedef struct rtp_statistics
{
AP_UINT32 bytes_sent; /* total number of bytes sent */
AP_UINT32 bytes_received; /* total number of bytes received */
AP_UINT32 bytes_resent; /* total number of bytes resent */
AP_UINT32 bytes_discarded; /* total number of bytes discarded */
AP_UINT32 packets_sent; /* total number of packets sent */
AP_UINT32 packets_received; /* total number of packets received */
AP_UINT32 packets_resent; /* total number of packets resent */
AP_UINT32 packets_discarded; /* total number of packets discarded*/
AP_UINT32 gaps_detected; /* gaps detected */
AP_UINT32 send_rate; /* current send rate */
AP_UINT32 max_send_rate; /* maximum send rate */
AP_UINT32 min_send_rate; /* minimum send rate */
AP_UINT32 receive_rate; /* current send rate */
AP_UINT32 max_receive_rate; /* maximum receive rate */
AP_UINT32 min_receive_rate; /* minimum receive rate */
AP_UINT32 burst_size; /* current burst size */
AP_UINT32 up_time; /* total uptime of connection */
AP_UINT32 smooth_rtt; /* smoothed round-trip time */
633