]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/tc_act/tc_ipt.h
Merge branches 'perf-fixes-for-linus' and 'x86-fixes-for-linus' of git://git.kernel...
[karo-tx-linux.git] / include / net / tc_act / tc_ipt.h
index cb37ad08427faca6d51ac7975c4108fdb6822f71..f7d25dfcc4b78c011acbb6044b38e4af8f8438d9 100644 (file)
@@ -5,12 +5,13 @@
 
 struct xt_entry_target;
 
-struct tcf_ipt
-{
-       tca_gen(ipt);
-       u32 hook;
-       char *tname;
-       struct xt_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 */