fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / net / tc_act / tc_mirred.h
index b5c32f6..ceac661 100644 (file)
@@ -3,13 +3,14 @@
 
 #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 */