Commit 6ad78893 authored by Balazs Scheidler's avatar Balazs Scheidler Committed by Patrick McHardy

tproxy: added IPv6 support to the TPROXY target

This requires a new revision as the old target structure was
IPv4 specific.
Signed-off-by: default avatarBalazs Scheidler <bazsi@balabit.hu>
Signed-off-by: default avatarKOVACS Krisztian <hidden@balabit.hu>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 3b9afb29
#ifndef _XT_TPROXY_H_target #ifndef _XT_TPROXY_H
#define _XT_TPROXY_H_target #define _XT_TPROXY_H
/* TPROXY target is capable of marking the packet to perform /* TPROXY target is capable of marking the packet to perform
* redirection. We can get rid of that whenever we get support for * redirection. We can get rid of that whenever we get support for
...@@ -11,4 +11,11 @@ struct xt_tproxy_target_info { ...@@ -11,4 +11,11 @@ struct xt_tproxy_target_info {
__be16 lport; __be16 lport;
}; };
#endif /* _XT_TPROXY_H_target */ struct xt_tproxy_target_info_v1 {
u_int32_t mark_mask;
u_int32_t mark_value;
union nf_inet_addr laddr;
__be16 lport;
};
#endif /* _XT_TPROXY_H */
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment