]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce7c486abb3b8706d5cde2bc1bfe84800e01a6e6
tree15c737c159a14b6abe6e5b8148bebc4d9b6913d6
parentb2d66344943f938387d9b9d8704979b8dbe63215
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