On 18/04/09 01:07 PM, Guy Harris wrote:
On Apr 10, 2009, at 8:23 PM, Darren Reed wrote:
The URL below contains the necessary changes for BPF on Solaris to
"just work". To summarise, Solaris needs a few extra includes and for
BPF to be checked before DLPI.
http://www.opensolaris.org/os/community/networking/files/libpcap.diff.gz
I've checked in some of those changes. I replaced the <sys/file.h>
include in pcap-bpf.c with an include of <fcntl.h>, as that's what
you're supposed to include for open(). The ones that didn't involve
extra includes or configure script changes weren't checked in; were
they necessary?
To close the loop on this...
The current libpcap, checked out with git, builds cleanly and correctly
for BPF enabled Solaris.
Darren
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.