git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
net
/
tc_act
/
tc_mirred.h
diff --git
a/include/net/tc_act/tc_mirred.h
b/include/net/tc_act/tc_mirred.h
index
b5c32f6
..
ceac661
100644
(file)
--- a/
include/net/tc_act/tc_mirred.h
+++ b/
include/net/tc_act/tc_mirred.h
@@
-3,13
+3,14
@@
#include <net/act_api.h>
#include <net/act_api.h>
-struct tcf_mirred
-{
- tca_gen(mirred);
- int eaction;
- int ifindex;
- int ok_push;
- struct net_device *dev;
+struct tcf_mirred {
+ struct tcf_common common;
+ int tcfm_eaction;
+ int tcfm_ifindex;
+ int tcfm_ok_push;
+ struct net_device *tcfm_dev;
};
};
+#define to_mirred(pc) \
+ container_of(pc, struct tcf_mirred, common)
-#endif
+#endif
/* __NET_TC_MIR_H */