]> err.no Git - linux-2.6/blobdiff - include/net/tc_act/tc_pedit.h
[NETFILTER]: nf_queue: move list_head/skb/id to struct nf_info
[linux-2.6] / include / net / tc_act / tc_pedit.h
index eb21689d759dddda7b7cc2c845497561663585a9..e6f6e15956f5fb9dfb5fcbd446fc3d60ed7f4ec1 100644 (file)
@@ -3,12 +3,13 @@
 
 #include <net/act_api.h>
 
-struct tcf_pedit
-{
-       tca_gen(pedit);
-       unsigned char           nkeys;
-       unsigned char           flags;
-       struct tc_pedit_key     *keys;
+struct tcf_pedit {
+       struct tcf_common       common;
+       unsigned char           tcfp_nkeys;
+       unsigned char           tcfp_flags;
+       struct tc_pedit_key     *tcfp_keys;
 };
+#define to_pedit(pc) \
+       container_of(pc, struct tcf_pedit, common)
 
-#endif
+#endif /* __NET_TC_PED_H */