Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 66f75a5d028beaf67c931435fdc3e7823125730c authored by Linus Torvalds on 21 April 2012, 21:47:52 UTC
Linux 3.4-rc4
Tip revision: 66f75a5
xt_TPROXY.h
#ifndef _XT_TPROXY_H
#define _XT_TPROXY_H

#include <linux/types.h>

/* 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 {
	__u32 mark_mask;
	__u32 mark_value;
	__be32 laddr;
	__be16 lport;
};

struct xt_tproxy_target_info_v1 {
	__u32 mark_mask;
	__u32 mark_value;
	union nf_inet_addr laddr;
	__be16 lport;
};

#endif /* _XT_TPROXY_H */
back to top