Wed Oct 28 11:53:49 2009

Asterisk developer's documentation


ast_rtcp Struct Reference

Structure defining an RTCP session. More...


Data Fields

double accumulated_transit
struct sockaddr_in altthem
unsigned int expected_prior
unsigned int lastsrtxcount
double maxrtt
double maxrxjitter
double maxrxlost
double minrtt
double minrxjitter
double minrxlost
double normdev_rxjitter
double normdev_rxlost
double normdevrtt
char quality [AST_MAX_USER_FIELD]
char quality_jitter [AST_MAX_USER_FIELD]
char quality_loss [AST_MAX_USER_FIELD]
char quality_rtt [AST_MAX_USER_FIELD]
unsigned int received_prior
unsigned int reported_jitter
unsigned int reported_jitter_count
unsigned int reported_lost
double reported_maxjitter
double reported_maxlost
double reported_minjitter
double reported_minlost
double reported_normdev_jitter
double reported_normdev_lost
double reported_stdev_jitter
double reported_stdev_lost
unsigned int rr_count
int rtcp_info
double rtt
unsigned int rtt_count
unsigned int rxjitter_count
double rxlost
unsigned int rxlost_count
struct timeval rxlsr
int s
int schedid
int sendfur
unsigned int soc
unsigned int spc
unsigned int sr_count
double stdev_rxjitter
double stdev_rxlost
double stdevrtt
struct sockaddr_in them
unsigned int themrxlsr
struct timeval txlsr
struct sockaddr_in us


Detailed Description

Structure defining an RTCP session.

The concept "RTCP session" is not defined in RFC 3550, but since this structure is analogous to ast_rtp, which tracks a RTP session, it is logical to think of this as a RTCP session.

RTCP packet is defined on page 9 of RFC 3550.

Definition at line 236 of file rtp.c.


Field Documentation

accumulated a-dlsr-lsr

Definition at line 253 of file rtp.c.

Referenced by ast_rtcp_read().

struct sockaddr_in altthem [read]

Alternate source for RTCP

Definition at line 241 of file rtp.c.

Referenced by ast_rtcp_read(), and ast_rtp_set_alt_peer().

unsigned int expected_prior

no. packets in previous interval

Definition at line 247 of file rtp.c.

Referenced by __ast_rtp_get_quality(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_destroy(), ast_rtp_get_qosvalue(), and ast_rtp_get_quality().

unsigned int lastsrtxcount

Transmit packet count when last SR sent

Definition at line 252 of file rtp.c.

Referenced by ast_rtcp_write(), and ast_rtcp_write_sr().

double maxrtt

Definition at line 285 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_rtt(), and ast_rtcp_read().

double maxrxjitter

Definition at line 280 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and calc_rxstamp().

double maxrxlost

Definition at line 274 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_write_rr().

double minrtt

Definition at line 286 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_rtt(), and ast_rtcp_read().

double minrxjitter

Definition at line 281 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and calc_rxstamp().

double minrxlost

Definition at line 275 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_write_rr().

Definition at line 282 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and calc_rxstamp().

Definition at line 276 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_write_rr().

double normdevrtt

Definition at line 287 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_rtt(), and ast_rtcp_read().

char quality[AST_MAX_USER_FIELD]

Definition at line 257 of file rtp.c.

Referenced by __ast_rtp_get_quality().

char quality_jitter[AST_MAX_USER_FIELD]

Definition at line 258 of file rtp.c.

Referenced by __ast_rtp_get_quality_jitter().

char quality_loss[AST_MAX_USER_FIELD]

Definition at line 259 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss().

char quality_rtt[AST_MAX_USER_FIELD]

Definition at line 260 of file rtp.c.

Referenced by __ast_rtp_get_quality_rtt().

unsigned int received_prior

no. packets received in previous interval

Definition at line 248 of file rtp.c.

Referenced by __ast_rtp_get_quality(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_destroy(), ast_rtp_get_qosvalue(), and ast_rtp_get_quality().

unsigned int reported_jitter

The contents of their last jitter entry in the RR

Definition at line 255 of file rtp.c.

Referenced by __ast_rtp_get_quality(), ast_rtcp_read(), ast_rtp_destroy(), ast_rtp_get_qosvalue(), and ast_rtp_get_quality().

unsigned int reported_jitter_count

Definition at line 266 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int reported_lost

Reported lost packets in their RR

Definition at line 256 of file rtp.c.

Referenced by __ast_rtp_get_quality(), ast_rtcp_read(), ast_rtp_destroy(), ast_rtp_get_qosvalue(), and ast_rtp_get_quality().

Definition at line 262 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and ast_rtcp_read().

Definition at line 268 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_read().

Definition at line 263 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and ast_rtcp_read().

Definition at line 269 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_read().

Definition at line 264 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and ast_rtcp_read().

Definition at line 270 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_read().

Definition at line 265 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and ast_rtcp_read().

Definition at line 271 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_read().

unsigned int rr_count

number of RRs we've sent, not including report blocks in SR's

Definition at line 250 of file rtp.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_destroy().

int rtcp_info

double rtt

Last reported rtt

Definition at line 254 of file rtp.c.

Referenced by __ast_rtp_get_quality(), ast_rtcp_read(), ast_rtp_destroy(), ast_rtp_get_qosvalue(), and ast_rtp_get_quality().

unsigned int rtt_count

Definition at line 289 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int rxjitter_count

Definition at line 284 of file rtp.c.

Referenced by calc_rxstamp().

double rxlost

Definition at line 273 of file rtp.c.

Referenced by ast_rtcp_write_rr().

unsigned int rxlost_count

Definition at line 278 of file rtp.c.

Referenced by ast_rtcp_write_rr().

struct timeval rxlsr [read]

Time when we got their last SR

Definition at line 245 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtcp_write_rr(), and ast_rtcp_write_sr().

int s

int schedid

Schedid returned from ast_sched_add() to schedule RTCP-transmissions

Definition at line 249 of file rtp.c.

Referenced by ast_rtcp_new(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_destroy(), ast_rtp_raw_write(), ast_rtp_read(), and ast_rtp_stop().

int sendfur

Definition at line 290 of file rtp.c.

Referenced by ast_rtcp_send_h261fur(), ast_rtcp_write_rr(), and ast_rtcp_write_sr().

unsigned int soc

What they told us

Definition at line 242 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int spc

What they told us

Definition at line 243 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int sr_count

number of SRs we've sent

Definition at line 251 of file rtp.c.

Referenced by ast_rtcp_write_sr(), and ast_rtp_destroy().

Definition at line 283 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_jitter(), and calc_rxstamp().

double stdev_rxlost

Definition at line 277 of file rtp.c.

Referenced by __ast_rtp_get_quality_loss(), and ast_rtcp_write_rr().

double stdevrtt

Definition at line 288 of file rtp.c.

Referenced by __ast_rtp_get_qos(), __ast_rtp_get_quality_rtt(), and ast_rtcp_read().

struct sockaddr_in them [read]

Socket representation of the remote endpoint.

Definition at line 240 of file rtp.c.

Referenced by ast_rtcp_new(), ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_set_peer(), and ast_rtp_stop().

unsigned int themrxlsr

The middle 32 bits of the NTP timestamp in the last received SR

Definition at line 244 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtcp_write_rr(), and ast_rtcp_write_sr().

struct timeval txlsr [read]

Time when we sent or last SR

Definition at line 246 of file rtp.c.

Referenced by ast_rtcp_write_sr().

struct sockaddr_in us [read]

Socket representation of the local endpoint.

Definition at line 239 of file rtp.c.

Referenced by ast_rtcp_new(), and ast_rtp_new_with_bindaddr().


The documentation for this struct was generated from the following file:

Generated on Wed Oct 28 11:53:49 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6