]> git.baikalelectronics.ru Git - kernel.git/commit
doc: packet: simplify tpacket example code
authorDaniel Borkmann <dborkman@redhat.com>
Thu, 6 Jun 2013 14:08:13 +0000 (14:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jun 2013 21:39:05 +0000 (14:39 -0700)
commitec692f47fa4de2377698964820b74e307ad6280b
tree942562a2ce0e048ae72c8c202835fee2c418b11b
parentf84382289b0734c5702f90bffe2b06a2ff95f16d
doc: packet: simplify tpacket example code

This patch simplifies the tpacket_v3 example code a bit by getting rid
of unecessary macro wrappers, removing some debugging code so that it is
more to the point, and also adds a header comment. Now this example code
is the very minimum one needs to start from when dealing with tpacket_v3
and ~100 lines smaller than before.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/packet_mmap.txt