doc: packet: add minimal TPACKET_V3 example code
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 29 Mar 2013 05:36:29 +0000 (05:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Mar 2013 21:40:27 +0000 (17:40 -0400)
commit4eb06148250f92e1e58bf069c309dac173e8b5f7
tree15c737c159a14b6abe6e5b8148bebc4d9b6913d6
parente052f7e64daae6aa7a7ccd003b3c285d99755afb
doc: packet: add minimal TPACKET_V3 example code

Lost in space for a long time, but it finally came back to us from
some ancient code tombs. This patch adds a minimal runnable example
of Linux' packet mmap(2) from Chetan Loke's TPACKET_V3. Special
thanks to David S. Miller, and also Eric Leblond and Victor Julien!

Cc: Eric Leblond <eric@regit.org>
Cc: Victor Julien <victor@inliniac.net>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/packet_mmap.txt