|
|
|
@ -6164,12 +6164,14 @@ static void rtp_stats(struct rtpengine_target *g, struct rtp_parsed *rtp, s64 ar
|
|
|
|
uint32_t transit;
|
|
|
|
uint32_t transit;
|
|
|
|
int32_t d;
|
|
|
|
int32_t d;
|
|
|
|
uint32_t new_seq;
|
|
|
|
uint32_t new_seq;
|
|
|
|
|
|
|
|
uint16_t seq;
|
|
|
|
|
|
|
|
uint32_t ts;
|
|
|
|
|
|
|
|
|
|
|
|
if (!s)
|
|
|
|
if (!s)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
uint16_t seq = ntohs(rtp->rtp_header->seq_num);
|
|
|
|
seq = ntohs(rtp->rtp_header->seq_num);
|
|
|
|
uint32_t ts = ntohl(rtp->rtp_header->timestamp);
|
|
|
|
ts = ntohl(rtp->rtp_header->timestamp);
|
|
|
|
|
|
|
|
|
|
|
|
atomic64_inc(&s->packets);
|
|
|
|
atomic64_inc(&s->packets);
|
|
|
|
atomic64_add(rtp->payload_len, &s->bytes);
|
|
|
|
atomic64_add(rtp->payload_len, &s->bytes);
|
|
|
|
|