Home | History | Annotate | Download | only in netfilter
      1 #ifndef _XT_TPROXY_H
      2 #define _XT_TPROXY_H
      3 
      4 #include <linux/types.h>
      5 #include <linux/netfilter.h>
      6 
      7 /* TPROXY target is capable of marking the packet to perform
      8  * redirection. We can get rid of that whenever we get support for
      9  * mutliple targets in the same rule. */
     10 struct xt_tproxy_target_info {
     11 	__u32 mark_mask;
     12 	__u32 mark_value;
     13 	__be32 laddr;
     14 	__be16 lport;
     15 };
     16 
     17 struct xt_tproxy_target_info_v1 {
     18 	__u32 mark_mask;
     19 	__u32 mark_value;
     20 	union nf_inet_addr laddr;
     21 	__be16 lport;
     22 };
     23 
     24 #endif /* _XT_TPROXY_H */
     25