Abeni Paolo wrote:

Yes, they can be used. The USB capture use a character device which implement 
the poll interface.

My main concern is with mmapped access. Presumably, with mmapped access, there are still system calls that move a "these packets have been read" pointer and that block until the "these packets have arrived" pointer to move ahead of the "these packets have been read" pointer; if that's the case, and if a select() or poll() will also check for the "these packets have arrived" pointer being ahead of the "these packets have been read" pointer, that will work.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to