int last_rcvd = 0, last_reorders = 0;
int last_fec_recovered = 0, last_lost = 0;
- int last_output = 0;
+ int last_output = 0, last_ts_discontinuities = 0;
int last_sent = 0;
timeval last_print;
gettimeofday(&last_print, NULL);
int reorders = tun_reorderer.get_reorders();
int lost = tun_reorderer.get_lost_packets();
int output = tun.get_sent_packets();
+ int ts_discontinuities = tun_reorderer.get_ts_discontinuities();
int sent = gre.get_sent_packets();
- fprintf(stderr, "%5dp rcvd, %3dp FEC recovered, %4d reorders, %3dp lost, %5dp output. %5dp sent\n",
+ fprintf(stderr, "%5dp rcvd, %3dp FEC recovered, %4d reorders, %3dp lost, %5dp output, %3d TS discontinuities. %5dp sent\n",
rcvd - last_rcvd, fec_recovered - last_fec_recovered,
reorders - last_reorders, lost - last_lost,
- output - last_output, sent - last_sent);
+ output - last_output,
+ ts_discontinuities - last_ts_discontinuities,
+ sent - last_sent);
last_rcvd = rcvd;
last_fec_recovered = fec_recovered;
last_reorders = reorders;
last_lost = lost;
last_output = output;
+ last_ts_discontinuities = ts_discontinuities;
last_sent = sent;
last_print = now;
}