]> bbs.cooldavid.org Git - net-next-2.6.git/blob - include/linux/netfilter/xt_TPROXY.h
Merge branch 'for-patrick' of git://git.kernel.org/pub/scm/linux/kernel/git/horms...
[net-next-2.6.git] / include / linux / netfilter / xt_TPROXY.h
1 #ifndef _XT_TPROXY_H
2 #define _XT_TPROXY_H
3
4 /* TPROXY target is capable of marking the packet to perform
5  * redirection. We can get rid of that whenever we get support for
6  * mutliple targets in the same rule. */
7 struct xt_tproxy_target_info {
8         u_int32_t mark_mask;
9         u_int32_t mark_value;
10         __be32 laddr;
11         __be16 lport;
12 };
13
14 struct xt_tproxy_target_info_v1 {
15         u_int32_t mark_mask;
16         u_int32_t mark_value;
17         union nf_inet_addr laddr;
18         __be16 lport;
19 };
20
21 #endif /* _XT_TPROXY_H */