https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6163
--- Comment #6 from T. Loebner <loebnert@xxxxxxxxxxxxxx> 2011-07-27 05:46:09 PDT ---
(In reply to comment #5)
> NTP timestamp does not come out right are they correctly encoded in
> the trace?
Yes, I checked it using binary output of version 1.4.4 without the dissector
changes.
the packets are generated using the following code
xr->rb[0].blockheader2 = (uint32_t) session->rcv.pt;
xr->rb[0].msci = htonl(client.msci);
xr->rb[0].source_ssrc = htonl((uint32_t) rcv.ssrc);
xr->rb[0].ntp_ts_pkt_rcv_msw = htonl(xr_sc.ntp_rcv_ts_msw);
xr->rb[0].ntp_ts_pkt_rcv_lsw = htonl(xr_sc.ntp_rcv_ts_lsw);
xr->rb[0].rtp_ts_pkt_rcv = htonl(rtp_pkt_ts);
xr->rb[0].ntp_ts_pkt_presented = htonl(xr_sc.short_ntp_presentation_ts);
The field order is :
typedef struct xr_sync_block
{
uint32_t blockheader1;
uint32_t blockheader2;
uint32_t msci;
uint32_t source_ssrc;
uint32_t ntp_ts_pkt_rcv_msw;
uint32_t ntp_ts_pkt_rcv_lsw;
uint32_t rtp_ts_pkt_rcv;
uint32_t ntp_ts_pkt_presented;
} xr_sync_block_t;
regards
Torsten
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.