Wireshark mailing list archives

Re: tvb_get_ntohl with reversed data


From: Guy Harris <guy () alum mit edu>
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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: