tcpdump mailing list archives
Re: select()ing on a pcap descriptor in Solaris
From: Fernando Gont <fernando () gont com ar>
Date: Mon, 18 Aug 2014 20:06:37 -0300
Hi, Guy, On 08/14/2014 07:01 PM, Guy Harris wrote:
I wouldn't expect that prior to Solaris 11 - select() and poll() Just Work on STREAMS devices, as I remember. It could, however, be that Sun^WOracle screwed up with BPF; unfortunately, Solaris 11 is ClosedSolaris, so I can't just look at the source and see what they did wrong. I'll try this on my Solaris 11 virtual machine.
Were you able to try this? I did the following check: I ran my code, and checked with truss that /dev/bpf was being opened... So apparently I am running the BPF-based libpcap, but still the underlying descriptor is never readable or writeable... P.S.: I'm waiting for some feedback from a fellow solaris dev. I will keep you posted. Thanks! Best regards, -- Fernando Gont e-mail: fernando () gont com ar || fgont () si6networks com PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1 _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- select()ing on a pcap descriptor in Solaris Fernando Gont (Aug 14)
- Re: select()ing on a pcap descriptor in Solaris Guy Harris (Aug 14)
- Re: select()ing on a pcap descriptor in Solaris Fernando Gont (Aug 14)
- Re: select()ing on a pcap descriptor in Solaris Fernando Gont (Aug 18)
- Re: select()ing on a pcap descriptor in Solaris Guy Harris (Aug 14)