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