Subject: libpcap - not MI?
To: None <firstname.lastname@example.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 02/07/2001 08:52:34
I had occasion, today, to move a tcpdump packet file (written with
tcpdump -w) from NetBSD/alpha to NetBSD/sparc. Trying to read it on
the SPARC with tcpdump -r produced a "bogus savefile header" whine.
On inspecting the file manually and reading the source to libpcap, I
found that there's a "struct timeval" in struct pcap_pkthdr, which
occupies twice as much space on /alpha as on /sparc. Since this is
written directly to the file, it renders the file nonportable.
Has this been fixed by now (these systems 1.4T), or is it worth
sending-pr? Or should I write to LBL and let NetBSD pick it up once
LBL fixes things? Or is it a bug in struct timeval on /alpha?
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B