]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/tc_act/tc_ipt.h
[S390] Use new style spinlock initializer in __RWSEM_INITIALIZER.
[linux-2.6-omap-h63xx.git] / include / net / tc_act / tc_ipt.h
index 02eccebd55ae50508cb28f083df59aa068fda746..f7d25dfcc4b78c011acbb6044b38e4af8f8438d9 100644 (file)
@@ -3,14 +3,15 @@
 
 #include <net/act_api.h>
 
-struct ipt_entry_target;
+struct xt_entry_target;
 
-struct tcf_ipt
-{
-       tca_gen(ipt);
-       u32 hook;
-       char *tname;
-       struct ipt_entry_target *t;
+struct tcf_ipt {
+       struct tcf_common       common;
+       u32                     tcfi_hook;
+       char                    *tcfi_tname;
+       struct xt_entry_target  *tcfi_t;
 };
+#define to_ipt(pc) \
+       container_of(pc, struct tcf_ipt, common)
 
-#endif
+#endif /* __NET_TC_IPT_H */