diff options
Diffstat (limited to 'include/net/tc_act/tc_ipt.h')
| -rw-r--r-- | include/net/tc_act/tc_ipt.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/net/tc_act/tc_ipt.h b/include/net/tc_act/tc_ipt.h index 02eccebd55a..c0f4193f432 100644 --- 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> -struct ipt_entry_target; +struct xt_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(a) \ + container_of(a->priv, struct tcf_ipt, common) -#endif +#endif /* __NET_TC_IPT_H */ |
