Subject: Re: tcpdump(8) file format on 64bit arch
To: None <email@example.com>
From: Assar Westerlund <firstname.lastname@example.org>
Date: 06/11/2000 18:37:58
Jason R Thorpe <email@example.com> writes:
> Hm. tcpdump.org should always emit a 64-bit timeval!
> They clearly weren't planning ahead on this one.
Well, actually, the ones not planning ahead were LBL. The code was
using the same magic cookie and version number but outputing 32 bit
numbers on some machines and 64 bit numbers on other machines. In
fact, it was just dumping a `struct timeval' to file. So this was bad
and we decided to define that this version of the dump-file would
always use 32 bit units for tv_sec and tv_usec.
Then, which has not happened yet, is to figure out how time should be
encoded in the next version of the format. So, I think we should
merge this change into the NetBSD version of libpcap.