]> The Tcpdump Group git mirrors - libpcap/commit
From Patrick McHardy:
authorguy <guy>
Wed, 6 Aug 2008 07:49:59 +0000 (07:49 +0000)
committerguy <guy>
Wed, 6 Aug 2008 07:49:59 +0000 (07:49 +0000)
commit3fdc946654c9dea0eba646d29c0fd3e3f62ff98d
tree0f30e13e41ca0386ce821f386528664344cd12b6
parent62ff2e48b35f29af145cd083543773d601f072ff
From Patrick McHardy:

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.
pcap-int.h
pcap-linux.c