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_ipt.h
diff --git
a/include/net/tc_act/tc_ipt.h
b/include/net/tc_act/tc_ipt.h
index
02ecceb
..
f7d25df
100644
(file)
--- a/
include/net/tc_act/tc_ipt.h
+++ b/
include/net/tc_act/tc_ipt.h
@@
-3,14
+3,15
@@
#include <net/act_api.h>
#include <net/act_api.h>
-struct
ip
t_entry_target;
+struct
x
t_entry_target;
-struct tcf_ipt
-{
- tca_gen(ipt);
- u32 hook;
- char *tname;
- struct ipt_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 */