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_defact.h
diff --git
a/include/net/tc_act/tc_defact.h
b/include/net/tc_act/tc_defact.h
index
463aa67
..
65f024b
100644
(file)
--- a/
include/net/tc_act/tc_defact.h
+++ b/
include/net/tc_act/tc_defact.h
@@
-3,11
+3,12
@@
#include <net/act_api.h>
#include <net/act_api.h>
-struct tcf_defact
-{
- tca_gen(defact);
- u32 datalen;
- void *defdata;
+struct tcf_defact {
+ struct tcf_common common;
+ u32 tcfd_datalen;
+ void *tcfd_defdata;
};
};
+#define to_defact(pc) \
+ container_of(pc, struct tcf_defact, common)
-#endif
+#endif
/* __NET_TC_DEF_H */