]> 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)
commitdb6272d414309a9c77c531a519bcdc693a34451e
tree942562a2ce0e048ae72c8c202835fee2c418b11b
parent5aebc1113a496fb98291a12545794e867200450e
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