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_gact.h
diff --git
a/include/net/tc_act/tc_gact.h
b/include/net/tc_act/tc_gact.h
index
59f0d96
..
9e3f676
100644
(file)
--- a/
include/net/tc_act/tc_gact.h
+++ b/
include/net/tc_act/tc_gact.h
@@
-3,15
+3,15
@@
#include <net/act_api.h>
#include <net/act_api.h>
-struct tcf_gact
-{
- tca_gen(gact);
+struct tcf_gact {
+ struct tcf_common common;
#ifdef CONFIG_GACT_PROB
#ifdef CONFIG_GACT_PROB
- u16 ptype;
- u16 pval;
- int paction;
+ u16
tcfg_
ptype;
+ u16
tcfg_
pval;
+ int
tcfg_
paction;
#endif
#endif
-
};
};
-
-#endif
+#define to_gact(pc) \
+ container_of(pc, struct tcf_gact, common)
+
+#endif /* __NET_TC_GACT_H */