HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF Indications
RTP_INDICATION
4.23 RTP_INDICATION
This indication is generated when one of the following occurs:
• An RTP connection is connected or disconnected.
• The active session count changes.
• The connection performs a path-switch.
When the connection is disconnected, final RTP statistics are returned. At other times the rtp_stats parameter is
reserved.
4.23.1 VCB Structure
typedef struct rtp_indication
{
AP_UINT16 opcode; /* Indication 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 data_lost; /* Previous indication lost? */
unsigned char connection_state; /* current state of the RTP */
/* connection */
unsigned char rtp_name[8]; /* name of the RTP connection */
AP_UINT16 num_sess_active; /* number of active sessions */
unsigned char indication_cause; /* reason for this indication */
unsigned char connection_type; /* usage of RTP connection */
unsigned char reserv3[2]; /* reserved */
RTP_STATISTICS rtp_stats; /* RTP statistics */
} RTP_INDICATION;
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 receive 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 */
AP_UINT32 last_rtt; /* last round-trip time */
AP_UINT32 short_req_timer; /* SHORT_REQ timer duration */
AP_UINT32 short_req_timeouts; /* number of SHORT_REQ timeouts */
AP_UINT32 liveness_timeouts; /* number of liveness timeouts */
AP_UINT32 in_invalid_sna_frames; /* number of invalid SNA frames */
801