diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-11-15 11:23:24 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-11-15 11:23:24 (GMT) |
commit | e0e76c83becc7536e8371e560504d836d34fcf7d (patch) | |
tree | 9a2f63014e06aee37815dfa20394a79c351739f0 /include/net/netfilter/nf_conntrack_extend.h | |
parent | 76a2d3bcfcc86e2a8044258515b86492a37631a3 (diff) | |
download | linux-fsl-qoriq-e0e76c83becc7536e8371e560504d836d34fcf7d.tar.xz |
netfilter: ct_extend: define NF_CT_EXT_* as needed
Less IDs make nf_ct_ext smaller.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_extend.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack_extend.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack_extend.h b/include/net/netfilter/nf_conntrack_extend.h index 0772d29..1a9f96d 100644 --- a/include/net/netfilter/nf_conntrack_extend.h +++ b/include/net/netfilter/nf_conntrack_extend.h @@ -7,10 +7,16 @@ enum nf_ct_ext_id { NF_CT_EXT_HELPER, +#if defined(CONFIG_NF_NAT) || defined(CONFIG_NF_NAT_MODULE) NF_CT_EXT_NAT, +#endif NF_CT_EXT_ACCT, +#ifdef CONFIG_NF_CONNTRACK_EVENTS NF_CT_EXT_ECACHE, +#endif +#ifdef CONFIG_NF_CONNTRACK_ZONES NF_CT_EXT_ZONE, +#endif NF_CT_EXT_NUM, }; |