Blame view

include/linux/netfilter/xt_TPROXY.h 483 Bytes
6ad788932   Balazs Scheidler   tproxy: added IPv...
1
2
  #ifndef _XT_TPROXY_H
  #define _XT_TPROXY_H
e84392707   KOVACS Krisztian   netfilter: iptabl...
3

06988b069   Jan Engelhardt   netfilter: xtable...
4
  #include <linux/types.h>
e84392707   KOVACS Krisztian   netfilter: iptabl...
5
6
7
8
  /* TPROXY target is capable of marking the packet to perform
   * redirection. We can get rid of that whenever we get support for
   * mutliple targets in the same rule. */
  struct xt_tproxy_target_info {
f1c722295   Jan Engelhardt   netfilter: xtable...
9
10
  	__u32 mark_mask;
  	__u32 mark_value;
e84392707   KOVACS Krisztian   netfilter: iptabl...
11
12
13
  	__be32 laddr;
  	__be16 lport;
  };
6ad788932   Balazs Scheidler   tproxy: added IPv...
14
  struct xt_tproxy_target_info_v1 {
f1c722295   Jan Engelhardt   netfilter: xtable...
15
16
  	__u32 mark_mask;
  	__u32 mark_value;
6ad788932   Balazs Scheidler   tproxy: added IPv...
17
18
19
20
21
  	union nf_inet_addr laddr;
  	__be16 lport;
  };
  
  #endif /* _XT_TPROXY_H */