configure: allow trafgen build when only TPACKET_V2 is available
commitb67df4299c18ba3f3fb30a2e3488873bd49d4153
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 20 Aug 2013 08:50:10 +0000 (20 10:50 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Tue, 20 Aug 2013 08:53:20 +0000 (20 10:53 +0200)
tree1a7ec4d77447a217c307fce96eac01d05b9916f7
parent1b554ed8277dd027db458a029dfbe90d04e212b6
configure: allow trafgen build when only TPACKET_V2 is available

On machines like RHEL6 that do not have support for TPACKET_V3, we
should still allow at least trafgen to be built for network testing.
Thus, do something useful with the TPACKET_V3 configure check and
comment out in ring.h relevant structures.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
configure
ring.h