History

net: Get rid of compat defines in psock_fanout.c selftest.

David S. Miller committed 13 years ago

Commit b44540e1 parent 94712441 file · +0 −18Browse files

Showing the changes to tools/testing (1 of 1 file). Show all

Unified · Split

tools/testing/selftests/net-afpacket/psock_fanout.c+0−18
@@ -56,24 +56,6 @@ · 55 unmodified lines
5656 #include <sys/types.h>
5757 #include <unistd.h>
5858
59−/* Hack: build even if local includes are old */
60−#ifndef PACKET_FANOUT
61−#define PACKET_FANOUT 18
62−#define PACKET_FANOUT_HASH 0
63−#define PACKET_FANOUT_LB 1
64−#define PACKET_FANOUT_CPU 2
65−#define PACKET_FANOUT_FLAG_DEFRAG 0x8000
66−
67−#ifndef PACKET_FANOUT_ROLLOVER
68−#define PACKET_FANOUT_ROLLOVER 3
69−#endif
70−
71−#ifndef PACKET_FANOUT_FLAG_ROLLOVER
72−#define PACKET_FANOUT_FLAG_ROLLOVER 0x1000
73−#endif
74−
75−#endif
76−
7759 #define DATA_LEN 100
7860 #define DATA_CHAR 'a'
7961

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t