9bf04646b0
This patch partially reverts:3d058d7
netfilter: rework user-space expectation helper support that was applied during the 3.2 development cycle. After this patch, the tree remains just like before patchbc01bef
, that initially added the preliminary infrastructure. I decided to partially revert this patch because the approach that I proposed to resolve this problem is broken in NAT setups. Moreover, a new infrastructure will be submitted for the 3.3.x development cycle that resolve the existing issues while providing a neat solution. Since nobody has been seriously using this infrastructure in user-space, the removal of this feature should affect any know FOSS project (to my knowledge). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
20 lines
310 B
C
20 lines
310 B
C
#ifndef _XT_CT_H
|
|
#define _XT_CT_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#define XT_CT_NOTRACK 0x1
|
|
|
|
struct xt_ct_target_info {
|
|
__u16 flags;
|
|
__u16 zone;
|
|
__u32 ct_events;
|
|
__u32 exp_events;
|
|
char helper[16];
|
|
|
|
/* Used internally by the kernel */
|
|
struct nf_conn *ct __attribute__((aligned(8)));
|
|
};
|
|
|
|
#endif /* _XT_CT_H */
|