tcpdump mailing list archives

Re: [PATCH 03/04]: pcap-linux: support new tpacket frame header format


From: Guy Harris <guy () alum mit edu>
Date: Wed, 6 Aug 2008 01:33:07 -0700


On Jul 18, 2008, at 11:08 AM, Patrick McHardy wrote:

pcap-linux: support new tpacket frame header format

From: Patrick McHardy <kaber () trash net>

The tpacket_hdr is not clean for 64 bit kernel/32 bit userspace and
is not extendable because the struct sockaddr_ll following it is
expected at a fixed offset.

Linux 2.6.27-rc supports a new tpacket frame header that removes these
two limitations. Convert the mmap ring support to support both formats
and probe for availability of the new version.

Checked into the main and 1.0 branches.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: