Re: [tcpdump-workers] select()ing on a pcap descriptor in Solaris

2014-08-18 Thread Fernando Gont
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 loo

Re: [tcpdump-workers] select()ing on a pcap descriptor in Solaris

2014-08-14 Thread Fernando Gont
Hi, Guy, On 08/14/2014 06:01 PM, Guy Harris wrote: > > On Aug 14, 2014, at 1:34 PM, Fernando Gont > wrote: > >> While trying to select() on a pcap descriptor in solaris > > Which version? Solaris 11 (in which pcap descriptors should refer to > BPF devices), or earlier (in which pcap descripto

Re: [tcpdump-workers] select()ing on a pcap descriptor in Solaris

2014-08-14 Thread Guy Harris
On Aug 14, 2014, at 1:34 PM, Fernando Gont wrote: > While trying to select() on a pcap descriptor in solaris Which version? Solaris 11 (in which pcap descriptors should refer to BPF devices), or earlier (in which pcap descriptors should refer to DLPI STREAMS devices)? > I found the followin

[tcpdump-workers] select()ing on a pcap descriptor in Solaris

2014-08-14 Thread Fernando Gont
Folks, While trying to select() on a pcap descriptor in solaris, I found the following: 1) It seems that pcap descriptors are never readable or writeable. (-- This is different from *BSD and Linux, where at least you seem to be able to check for readability) 2) It would seem that even trying to