Wireshark-dev: Re: [Wireshark-dev] tvb_get_ntohl with reversed data
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 6 Dec 2011 10:34:47 -0800
On Dec 6, 2011, at 7:26 AM, Yegor Yefremov wrote:

> The issue left is milliseconds conversion. AFAIK nsec is an int value, so
> it is not enough even for a second :-(

OK, divide milliseconds by 1000 and add it to secs, and take the remainder, multiply it by 1000000, and put it into nsecs.