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_pedit.h
diff --git
a/include/net/tc_act/tc_pedit.h
b/include/net/tc_act/tc_pedit.h
index
29ddb66
..
e6f6e15
100644
(file)
--- a/
include/net/tc_act/tc_pedit.h
+++ b/
include/net/tc_act/tc_pedit.h
@@
-3,12
+3,13
@@
#include <net/act_api.h>
#include <net/act_api.h>
-struct tcf_pedit
-{
- tca_gen(pedit);
- unsigned char nkeys;
- unsigned char flags;
- struct tc_pedit_key keys[0];
+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 */