Can you define the behaviour of 'not work' with BPF on tiger?
"Not work" as in "if you select on a BPF device and nothing else, you
will only wake up when the select timeout expires; the store buffer
getting transferred to the hold buffer won't trigger a wakeup".
ah, that may explain it, as
Guy Harris wrote:
"Not work" as in "if you select on a BPF device and nothing else, you
will only wake up when the select timeout expires; the store buffer
getting transferred to the hold buffer won't trigger a wakeup".
Actually, it might work for select(), although not for poll() - the
sele
Matthew Luckie wrote:
Can you define the behaviour of 'not work' with BPF on tiger?
"Not work" as in "if you select on a BPF device and nothing else, you
will only wake up when the select timeout expires; the store buffer
getting transferred to the hold buffer won't trigger a wakeup".
I us
The only UN*X systems I know of where select() can't be used are
FreeBSD 4.3 and 4.4 (due to BPF deficiencies fixed in 4.5);
OS X 10.4[.x] (due to select() not working on *any* character
special files);
Can you define the behaviour of 'not work' with BPF on tiger? I use
select on a
Cyril wrote:
And if the system can't use select() *and* the packet capture mechanism
doesn't support a timeout ?
The only UN*X systems I know of where select() can't be used are
FreeBSD 4.3 and 4.4 (due to BPF deficiencies fixed in 4.5);
OS X 10.4[.x] (due to select() not working o
Guy :
However, on most UN*Xes, you can use "select()" on the file
descriptor for the pcap_t, so that your program can wait either for
packets to arrive or for something else.
And if the system can't use select() *and* the packet capture mechanism
doesn't support a timeout ? Do we need to p
CVS log entries from 08.07.2005 (Fri) 09:07:05 - 09.07.2005 (Sat) 09:07:06 GMT
=
Summary by authors
=
Author: hannes
File: libpcap/gencode.c; Revisions: 1.251, 1.221.2.25
===