tcpdump mailing list archives

64bit support on netbsd


From: "David Laight" <David.Laight () ACULAB COM>
Date: Thu, 9 Feb 2012 13:05:55 -0000

There is a report on one of the netbsd lists (might have
been a developer-only list) that tcpdump (etc) aren't
working on 64bit netbsd platforms.

IIRC it had something to do with 'struct timeval' and friends.

I'm not sure of the full details but it might be related to:
1) NetBSD recently changing from 32bit to 64bit time_t.
2) 'struct timeval' being 48bits for i386 but 64bits for amd64,  
  and someone trying to run the 32bit pcap code on a 64bit system.

However I'm not certain where non fixed size time fields get used.

        David  (also dsl () netbsd org)


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: