xt_TPROXY.h revision b4af04be14560b3fcc6cf23200148d408014a2f5
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. */
7struct xt_tproxy_target_info {
8	__u32 mark_mask;
9	__u32 mark_value;
10	__be32 laddr;
11	__be16 lport;
12};
13
14struct xt_tproxy_target_info_v1 {
15	__u32 mark_mask;
16	__u32 mark_value;
17	union nf_inet_addr laddr;
18	__be16 lport;
19};
20
21#endif /* _XT_TPROXY_H */
22