commit | 37beae65fa4a683b2f17f3472708ab58d134b03c | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Mon Jul 01 18:09:50 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 02 00:23:57 2013 -0700 |
tree | ca2ce4693f596cdc680a45a010429b7311aac451 | |
parent | c590b5e2f05b5e98e614382582b7ae4cddb37599 [diff] |
tools: selftests: psock_tpacket: get rid of macro wrappers The TPACKET_V3 test code consists of a lot of unecessary macro wrappers that rather obfuscate what members are accessed in what way. So get rid of them and make the code more readable. Also credit Chetan for providing tpacket_v3 example code. Furthermore, get rid of private offset usage, as we do not need it here. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>