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)
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>

No differences found