Hi list,
The current libpcap on Windows shows the version string in the "About
Wireshark" window as (
https://github.com/the-tcpdump-group/libpcap/blob/master/pcap.c#L2118-L2123
):
with WinPcap version 4.0 (packet.dll version 0.07), based on libpcap
version 1.x.y
For latest Npcap 0.07 r17, it sho
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
On Jul 7, 2005, at 7:45 PM, hong liu wrote:
Hello, I am using libpcap library to capture ip data from data
link. I am wondering if there is a way to time out reading a packet
from data link. For example, if there is no data coming in 1
second, timer times out and process will do other thi
Hello, I am using libpcap library to capture ip data from data link. I am
wondering if there is a way to time out reading a packet from data link. For
example, if there is no data coming in 1 second, timer times out and process
will do other things, like nonblocking.
Now I am using pcap_loop