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)
commitd70a3f887a38cb0acc7233a1d05f15c2b6e0be2b
tree942562a2ce0e048ae72c8c202835fee2c418b11b
parent93a306aef5eef70e524500884ccca52c5dd19e17
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