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 i am using select on a BPF fd as well as
socket fds.
I use select on a BPF fd and find that I'm still seeing packets on the
BPF device.
"See" as in "you can read from the device and they arrive", or "you can
do a select() and you'll get a wakeup as soon as the store buffer gets
transferred to the hold buffer, even if the timeout hasn't expired"?
as the packets arrive on the device. i am not setting a timeout on the
BPF device. but, i am using immediate mode. the select call is
returning before the select timeout.
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.