Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Data Fields
ast_rtcp Struct Reference

Structure defining an RTCP session. More...

Collaboration diagram for ast_rtcp:
Collaboration graph
[legend]

Data Fields

double accumulated_transit
 
unsigned int expected_prior
 
int firseq
 
unsigned char frame_buf [512+AST_FRIENDLY_OFFSET]
 
unsigned int lastsrtxcount
 
char * local_addr_str
 
double maxrtt
 
double maxrxjitter
 
double maxrxlost
 
double maxrxmes
 
double minrtt
 
double minrxjitter
 
double minrxlost
 
double minrxmes
 
double normdev_rxjitter
 
double normdev_rxlost
 
double normdev_rxmes
 
double normdevrtt
 
unsigned int received_prior
 
double reported_jitter
 
unsigned int reported_jitter_count
 
unsigned int reported_lost
 
unsigned int reported_lost_count
 
double reported_maxjitter
 
double reported_maxlost
 
double reported_maxmes
 
double reported_mes
 
unsigned int reported_mes_count
 
double reported_minjitter
 
double reported_minlost
 
double reported_minmes
 
double reported_normdev_jitter
 
double reported_normdev_lost
 
double reported_normdev_mes
 
double reported_stdev_jitter
 
double reported_stdev_lost
 
double reported_stdev_mes
 
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
 
unsigned int rxmes_count
 
int s
 
int schedid
 
unsigned int soc
 
unsigned int spc
 
unsigned int sr_count
 
double stdev_rxjitter
 
double stdev_rxlost
 
double stdev_rxmes
 
double stdevrtt
 
struct ast_sockaddr them
 
unsigned int themrxlsr
 
struct timeval txlsr
 
enum ast_rtp_instance_rtcp type
 
struct ast_sockaddr 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 536 of file res_rtp_asterisk.c.

Field Documentation

◆ accumulated_transit

double accumulated_transit

accumulated a-dlsr-lsr

Definition at line 552 of file res_rtp_asterisk.c.

Referenced by update_rtt_stats().

◆ expected_prior

unsigned int expected_prior

no. packets in previous interval

Definition at line 546 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and ast_rtp_interpret().

◆ firseq

int firseq

Definition at line 602 of file res_rtp_asterisk.c.

Referenced by rtp_write_rtcp_fir().

◆ frame_buf

unsigned char frame_buf[512+AST_FRIENDLY_OFFSET]

Definition at line 615 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_interpret().

◆ lastsrtxcount

unsigned int lastsrtxcount

Transmit packet count when last SR sent

Definition at line 551 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_calculate_sr_rr_statistics(), and ast_rtcp_generate_report().

◆ local_addr_str

char* local_addr_str

◆ maxrtt

double maxrtt

Maximum of calculated round trip time

Definition at line 582 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_rtt_stats().

◆ maxrxjitter

double maxrxjitter

Maximum of calculated interarrival jitter

Definition at line 576 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp_and_jitter().

◆ maxrxlost

double maxrxlost

Maximum calculated lost number of packets between reports

Definition at line 570 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat().

◆ maxrxmes

double maxrxmes

Maximum of calculated mes

Definition at line 595 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_local_mes_stats().

◆ minrtt

double minrtt

Minimum of calculated round trip time

Definition at line 583 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_rtt_stats().

◆ minrxjitter

double minrxjitter

Minimum of calculated interarrival jitter

Definition at line 577 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp_and_jitter().

◆ minrxlost

double minrxlost

Minimum calculated lost number of packets between reports

Definition at line 571 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat().

◆ minrxmes

double minrxmes

Minimum of calculated mes

Definition at line 596 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_local_mes_stats().

◆ normdev_rxjitter

double normdev_rxjitter

Mean of calculated interarrival jitter

Definition at line 578 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp_and_jitter().

◆ normdev_rxlost

double normdev_rxlost

Mean of calculated lost packets between reports

Definition at line 572 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_local_mes_stats().

◆ normdev_rxmes

double normdev_rxmes

Mean of calculated mes

Definition at line 597 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_local_mes_stats().

◆ normdevrtt

double normdevrtt

Mean of calculated round trip time

Definition at line 584 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), update_local_mes_stats(), update_reported_mes_stats(), and update_rtt_stats().

◆ received_prior

unsigned int received_prior

no. packets received in previous interval

Definition at line 547 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and ast_rtp_interpret().

◆ reported_jitter

double reported_jitter

The contents of their last jitter entry in the RR in seconds

Definition at line 554 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), update_jitter_stats(), and update_reported_mes_stats().

◆ reported_jitter_count

unsigned int reported_jitter_count

Reported interarrival jitter count

Definition at line 561 of file res_rtp_asterisk.c.

Referenced by update_jitter_stats().

◆ reported_lost

unsigned int reported_lost

Reported lost packets in their RR

Definition at line 555 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_lost_stats().

◆ reported_lost_count

unsigned int reported_lost_count

Reported packets lost count

Definition at line 567 of file res_rtp_asterisk.c.

Referenced by update_lost_stats().

◆ reported_maxjitter

double reported_maxjitter

Maximum reported interarrival jitter

Definition at line 557 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_jitter_stats().

◆ reported_maxlost

double reported_maxlost

Maximum reported packets lost

Definition at line 563 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_lost_stats().

◆ reported_maxmes

double reported_maxmes

Maximum reported mes

Definition at line 589 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_reported_mes_stats().

◆ reported_mes

double reported_mes

The calculated MES from their last RR

Definition at line 588 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_interpret(), ast_rtp_get_stat(), and update_reported_mes_stats().

◆ reported_mes_count

unsigned int reported_mes_count

Reported mes count

Definition at line 593 of file res_rtp_asterisk.c.

Referenced by update_reported_mes_stats().

◆ reported_minjitter

double reported_minjitter

Minimum reported interarrival jitter

Definition at line 558 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_jitter_stats().

◆ reported_minlost

double reported_minlost

Minimum reported packets lost

Definition at line 564 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_lost_stats().

◆ reported_minmes

double reported_minmes

Minimum reported mes

Definition at line 590 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_reported_mes_stats().

◆ reported_normdev_jitter

double reported_normdev_jitter

Mean of reported interarrival jitter

Definition at line 559 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_jitter_stats().

◆ reported_normdev_lost

double reported_normdev_lost

Mean of reported packets lost

Definition at line 565 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), update_lost_stats(), and update_reported_mes_stats().

◆ reported_normdev_mes

double reported_normdev_mes

Mean of reported mes

Definition at line 591 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_reported_mes_stats().

◆ reported_stdev_jitter

double reported_stdev_jitter

Standard deviation of reported interarrival jitter

Definition at line 560 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), update_jitter_stats(), and update_reported_mes_stats().

◆ reported_stdev_lost

double reported_stdev_lost

Standard deviation of reported packets lost

Definition at line 566 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_lost_stats().

◆ reported_stdev_mes

double reported_stdev_mes

Standard deviation of reported mes

Definition at line 592 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_reported_mes_stats().

◆ rr_count

unsigned int rr_count

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

Definition at line 549 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_calculate_sr_rr_statistics().

◆ rtcp_info

int rtcp_info

Definition at line 537 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_interpret().

◆ rtt

double rtt

Last reported rtt

Definition at line 553 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_interpret(), ast_rtp_get_stat(), and update_rtt_stats().

◆ rtt_count

unsigned int rtt_count

Calculated round trip time count

Definition at line 586 of file res_rtp_asterisk.c.

Referenced by update_rtt_stats().

◆ rxjitter_count

unsigned int rxjitter_count

Calculated interarrival jitter count

Definition at line 580 of file res_rtp_asterisk.c.

Referenced by calc_rxstamp_and_jitter().

◆ rxlost

double rxlost

Calculated number of lost packets since last report

Definition at line 569 of file res_rtp_asterisk.c.

◆ rxlost_count

unsigned int rxlost_count

Calculated lost packets sample count

Definition at line 574 of file res_rtp_asterisk.c.

◆ rxlsr

struct timeval rxlsr

Time when we got their last SR

Definition at line 544 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_generate_report(), and ast_rtcp_interpret().

◆ rxmes_count

unsigned int rxmes_count

mes count

Definition at line 599 of file res_rtp_asterisk.c.

Referenced by update_local_mes_stats().

◆ s

int s

◆ schedid

int schedid

Schedid returned from ast_sched_add() to schedule RTCP-transmissions

Definition at line 548 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write(), ast_rtp_interpret(), ast_rtp_prop_set(), ast_rtp_stop(), rtp_raw_write(), rtp_write_rtcp_fir(), and rtp_write_rtcp_psfb().

◆ soc

unsigned int soc

What they told us

Definition at line 541 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_interpret().

◆ spc

unsigned int spc

What they told us

Definition at line 542 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_interpret().

◆ sr_count

unsigned int sr_count

number of SRs we've sent

Definition at line 550 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_calculate_sr_rr_statistics().

◆ stdev_rxjitter

double stdev_rxjitter

Standard deviation of calculated interarrival jitter

Definition at line 579 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), calc_rxstamp_and_jitter(), and update_local_mes_stats().

◆ stdev_rxlost

double stdev_rxlost

Standard deviation of calculated lost packets between reports

Definition at line 573 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat().

◆ stdev_rxmes

double stdev_rxmes

Standard deviation of calculated mes

Definition at line 598 of file res_rtp_asterisk.c.

Referenced by update_local_mes_stats().

◆ stdevrtt

double stdevrtt

Standard deviation of calculated round trip time

Definition at line 585 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and update_rtt_stats().

◆ them

struct ast_sockaddr them

◆ themrxlsr

unsigned int themrxlsr

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

Definition at line 543 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_generate_report(), and ast_rtcp_interpret().

◆ txlsr

struct timeval txlsr

Time when we sent or last SR

Definition at line 545 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_calculate_sr_rr_statistics().

◆ type

◆ us

struct ast_sockaddr us

Socket representation of the local endpoint.

Definition at line 539 of file res_rtp_asterisk.c.

Referenced by ast_rtp_prop_set(), and ast_rtp_remote_address_set().


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