Re: [tcpdump-workers] about libpcap

2005-07-09 Thread Matthew Luckie
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

Re: [tcpdump-workers] about libpcap

2005-07-09 Thread Guy Harris
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

Re: [tcpdump-workers] about libpcap

2005-07-09 Thread Guy Harris
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

Re: [tcpdump-workers] about libpcap

2005-07-09 Thread Matthew Luckie
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

Re: [tcpdump-workers] about libpcap

2005-07-09 Thread Guy Harris
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

Re: [tcpdump-workers] about libpcap

2005-07-09 Thread Cyril
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

[tcpdump-workers] Automatic report from sources (tcpdump libpcap htdocs) between 08.07.2005 - 09.07.2005 GMT

2005-07-09 Thread Automatic cvs log generator /tcpdump/bin/makelog
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 ===