Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
_tap_rtp_stat_t Struct Reference

Accumulates per-packet statistics for an RTP stream delivered via the tap interface. More...

#include <tap-rtp-analysis.h>

Public Attributes

bool first_packet
uint32_t flags
uint16_t seq_num
uint64_t timestamp
uint64_t seq_timestamp
double bandwidth
bw_history_item bw_history [300]
uint16_t bw_start_index
uint16_t bw_index
uint32_t total_bytes
uint32_t clock_rate
double delta
double jitter
double diff
double skew
double sumt
double sumTS
double sumt2
double sumtTS
double time
double start_time
double lastnominaltime
double lastarrivaltime
double min_delta
double max_delta
double mean_delta
double min_jitter
double max_jitter
double max_skew
double mean_jitter
uint32_t max_nr
uint32_t start_seq_nr
uint32_t stop_seq_nr
uint32_t total_nr
uint32_t sequence
uint16_t pt
int reg_pt
uint32_t first_packet_num
unsigned last_payload_len

Detailed Description

Accumulates per-packet statistics for an RTP stream delivered via the tap interface.

Member Data Documentation

◆ bandwidth

double _tap_rtp_stat_t::bandwidth

Current estimated stream bandwidth in bytes per second.

◆ bw_history

bw_history_item _tap_rtp_stat_t::bw_history[300]

Rolling circular buffer of recent bandwidth history samples.

◆ bw_index

uint16_t _tap_rtp_stat_t::bw_index

Index into bw_history at which the next sample will be written.

◆ bw_start_index

uint16_t _tap_rtp_stat_t::bw_start_index

Index into bw_history marking the start of the valid history window.

◆ clock_rate

uint32_t _tap_rtp_stat_t::clock_rate

RTP clock rate in Hz used to convert timestamps to wall-clock time.

◆ delta

double _tap_rtp_stat_t::delta

Arrival time delta from the previous packet in seconds.

◆ diff

double _tap_rtp_stat_t::diff

Difference between expected and actual arrival time in seconds.

◆ first_packet

bool _tap_rtp_stat_t::first_packet

True if this is the first packet seen; do not use after rtppacket_analyse() — check (flags & STAT_FLAG_FIRST) instead.

◆ first_packet_num

uint32_t _tap_rtp_stat_t::first_packet_num

Frame number of the first packet in this stream.

◆ flags

uint32_t _tap_rtp_stat_t::flags

Bitmask of STAT_FLAG_* values describing the state of this packet.

◆ jitter

double _tap_rtp_stat_t::jitter

Instantaneous jitter estimate per RFC 3550 in seconds.

◆ last_payload_len

unsigned _tap_rtp_stat_t::last_payload_len

Payload length in bytes of the most recently processed packet.

◆ lastarrivaltime

double _tap_rtp_stat_t::lastarrivaltime

Actual arrival time of the previous packet in milliseconds.

◆ lastnominaltime

double _tap_rtp_stat_t::lastnominaltime

Nominal (expected) arrival time of the previous packet in milliseconds.

◆ max_delta

double _tap_rtp_stat_t::max_delta

Maximum inter-arrival delta observed over the lifetime of this stream in seconds.

◆ max_jitter

double _tap_rtp_stat_t::max_jitter

Maximum instantaneous jitter observed over the lifetime of this stream in seconds.

◆ max_nr

uint32_t _tap_rtp_stat_t::max_nr

Frame number of the packet with the largest RTP timestamp seen so far.

◆ max_skew

double _tap_rtp_stat_t::max_skew

Maximum cumulative clock skew observed over the lifetime of this stream in seconds.

◆ mean_delta

double _tap_rtp_stat_t::mean_delta

Running mean inter-arrival delta over the lifetime of this stream in seconds.

◆ mean_jitter

double _tap_rtp_stat_t::mean_jitter

Running mean jitter over the lifetime of this stream in seconds.

◆ min_delta

double _tap_rtp_stat_t::min_delta

Minimum inter-arrival delta observed over the lifetime of this stream in seconds.

◆ min_jitter

double _tap_rtp_stat_t::min_jitter

Minimum instantaneous jitter observed over the lifetime of this stream in seconds.

◆ pt

uint16_t _tap_rtp_stat_t::pt

Payload type of the most recent packet.

◆ reg_pt

int _tap_rtp_stat_t::reg_pt

Registered payload type for this stream.

◆ seq_num

uint16_t _tap_rtp_stat_t::seq_num

RTP sequence number of this packet.

◆ seq_timestamp

uint64_t _tap_rtp_stat_t::seq_timestamp

Extended RTP timestamp of the last in-sequence packet.

◆ sequence

uint32_t _tap_rtp_stat_t::sequence

Cumulative count of sequence number errors detected in this stream.

◆ skew

double _tap_rtp_stat_t::skew

Cumulative clock skew between sender and receiver in seconds.

◆ start_seq_nr

uint32_t _tap_rtp_stat_t::start_seq_nr

Extended base sequence number per RFC 3550 §A.1.

◆ start_time

double _tap_rtp_stat_t::start_time

Absolute arrival time of the first packet in this stream in milliseconds.

◆ stop_seq_nr

uint32_t _tap_rtp_stat_t::stop_seq_nr

Extended maximum sequence number seen per RFC 3550 §A.1.

◆ sumt

double _tap_rtp_stat_t::sumt

Running sum of arrival times; used for linear regression of clock skew.

◆ sumt2

double _tap_rtp_stat_t::sumt2

Running sum of squared arrival times; used for linear regression of clock skew.

◆ sumTS

double _tap_rtp_stat_t::sumTS

Running sum of RTP timestamps; used for linear regression of clock skew.

◆ sumtTS

double _tap_rtp_stat_t::sumtTS

Running sum of arrival time × RTP timestamp products; used for linear regression of clock skew.

◆ time

double _tap_rtp_stat_t::time

Absolute arrival time of this packet in milliseconds.

◆ timestamp

uint64_t _tap_rtp_stat_t::timestamp

Generated extended RTP timestamp, unwrapped to 64 bits to handle rollover.

◆ total_bytes

uint32_t _tap_rtp_stat_t::total_bytes

Cumulative total bytes received for this stream.

◆ total_nr

uint32_t _tap_rtp_stat_t::total_nr

Total number of RTP packets received for this stream.


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