Gali Diamant wrote:
I expected pcap_dispatch to return since we have set the handle to be non blocking. Instead, it doesn't and blocks waiting. Is this the correct behavior or is that an AIX issue? It doesn't happen on Linux or Solaris.
It's probably an AIX issue; perhaps non-blocking mode doesn't work on BPF devices on AIX. (AIX's BPF has a number of ways in which it sucks and in which the BPFs on various BSDs don't; perhaps this is another one.)
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.