diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-11-15 05:51:06 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-11-15 05:51:06 -0500 |
commit | 0f8e80044b26b4b30213a3fdffebd325cdc21362 (patch) | |
tree | d8ac044372ca9683ee3b0933af71387e7ddf01eb | |
parent | 3b2368806915e1e69ac3bcc0d6a7cfde64307655 (diff) |
netfilter: nf_conntrack: define ct_*_info as needed
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | include/net/netfilter/nf_conntrack.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index abfff1e8e0d0..8a58901c96d3 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h | |||
@@ -50,11 +50,24 @@ union nf_conntrack_expect_proto { | |||
50 | /* per conntrack: application helper private data */ | 50 | /* per conntrack: application helper private data */ |
51 | union nf_conntrack_help { | 51 | union nf_conntrack_help { |
52 | /* insert conntrack helper private data (master) here */ | 52 | /* insert conntrack helper private data (master) here */ |
53 | #if defined(CONFIG_NF_CONNTRACK_FTP) || defined(CONFIG_NF_CONNTRACK_FTP_MODULE) | ||
53 | struct nf_ct_ftp_master ct_ftp_info; | 54 | struct nf_ct_ftp_master ct_ftp_info; |
55 | #endif | ||
56 | #if defined(CONFIG_NF_CONNTRACK_PPTP) || \ | ||
57 | defined(CONFIG_NF_CONNTRACK_PPTP_MODULE) | ||
54 | struct nf_ct_pptp_master ct_pptp_info; | 58 | struct nf_ct_pptp_master ct_pptp_info; |
59 | #endif | ||
60 | #if defined(CONFIG_NF_CONNTRACK_H323) || \ | ||
61 | defined(CONFIG_NF_CONNTRACK_H323_MODULE) | ||
55 | struct nf_ct_h323_master ct_h323_info; | 62 | struct nf_ct_h323_master ct_h323_info; |
63 | #endif | ||
64 | #if defined(CONFIG_NF_CONNTRACK_SANE) || \ | ||
65 | defined(CONFIG_NF_CONNTRACK_SANE_MODULE) | ||
56 | struct nf_ct_sane_master ct_sane_info; | 66 | struct nf_ct_sane_master ct_sane_info; |
67 | #endif | ||
68 | #if defined(CONFIG_NF_CONNTRACK_SIP) || defined(CONFIG_NF_CONNTRACK_SIP_MODULE) | ||
57 | struct nf_ct_sip_master ct_sip_info; | 69 | struct nf_ct_sip_master ct_sip_info; |
70 | #endif | ||
58 | }; | 71 | }; |
59 | 72 | ||
60 | #include <linux/types.h> | 73 | #include <linux/types.h> |