tcpdump mailing list archives

Re: standard pcap-1.0.0 with mmap?


From: Guy Harris <guy () alum mit edu>
Date: Mon, 22 Feb 2010 18:18:52 -0800


On Feb 22, 2010, at 5:40 PM, d00fy wrote:

Does pcap-1.0.0 use mmap to copy packets from kernel space to user spcace as default?

If it's compiled on

        1) a Linux distribution with the right headers to allow it to support memory-mapped capture

or

        2) a FreeBSD release with memory-mapped capture support

and it's running on

        1) a Linux distribution whose kernel supports memory-mapped capture

or

        2) a FreeBSD release that supports memory-mapped capture

then, unless some part of setting up memory-mapped capture fails, it will use it.-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: