Dr Andrew Scott G7VAV

My photo
 
July 2025
Mo Tu We Th Fr Sa Su
30 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 1 2 3
4 5 6 7 8 9 10


xt_TPROXY.h
01: #ifndef _XT_TPROXY_H
02: #define _XT_TPROXY_H
03: 
04: #include <linux/types.h>
05: 
06: /* TPROXY target is capable of marking the packet to perform
07:  * redirection. We can get rid of that whenever we get support for
08:  * mutliple targets in the same rule. */
09: 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: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/