tcpdump mailing list archives

Re: [PACTH] enable memory mapped access to ethernet


From: Guy Harris <guy () alum mit edu>
Date: Fri, 14 Dec 2007 10:32:41 -0800

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.


Current thread: