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:
- [PACTH] enable memory mapped access to ethernet (3rd version) Paolo Abeni (Dec 13)
- Re: [PACTH] enable memory mapped access to ethernet Guy Harris (Dec 14)
- Re: [PACTH] enable memory mapped access to ethernet Abeni Paolo (Dec 14)
- Re: [PACTH] enable memory mapped access to ethernet Guy Harris (Dec 14)
- Re: [PACTH] enable memory mapped access toethernet Paolo Abeni (Dec 17)
- Re: [PACTH] enable memory mapped access to ethernet Abeni Paolo (Dec 14)
- Re: [PACTH] enable memory mapped access to ethernet Guy Harris (Dec 14)
- Re: [PACTH] enable memory mapped access to ethernet Guy Harris (Dec 31)