aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-10-08 05:35:18 -0400
committerPatrick McHardy <kaber@trash.net>2008-10-08 05:35:18 -0400
commitc2df73de246ae75705af8ceed4f385b261dea108 (patch)
tree9372e24e1569cf83f592ea93f899909c391ddad1 /net/ipv6
parentaba0d34800d7f56493b4d5548cc06498a4d69124 (diff)
netfilter: xtables: use "if" blocks in Kconfig
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/netfilter/Kconfig17
1 files changed, 4 insertions, 13 deletions
diff --git a/net/ipv6/netfilter/Kconfig b/net/ipv6/netfilter/Kconfig
index 91ffba08c29f..53ea512c4608 100644
--- a/net/ipv6/netfilter/Kconfig
+++ b/net/ipv6/netfilter/Kconfig
@@ -55,10 +55,11 @@ config IP6_NF_IPTABLES
55 55
56 To compile it as a module, choose M here. If unsure, say N. 56 To compile it as a module, choose M here. If unsure, say N.
57 57
58if IP6_NF_IPTABLES
59
58# The simple matches. 60# The simple matches.
59config IP6_NF_MATCH_AH 61config IP6_NF_MATCH_AH
60 tristate '"ah" match support' 62 tristate '"ah" match support'
61 depends on IP6_NF_IPTABLES
62 depends on NETFILTER_ADVANCED 63 depends on NETFILTER_ADVANCED
63 help 64 help
64 This module allows one to match AH packets. 65 This module allows one to match AH packets.
@@ -67,7 +68,6 @@ config IP6_NF_MATCH_AH
67 68
68config IP6_NF_MATCH_EUI64 69config IP6_NF_MATCH_EUI64
69 tristate '"eui64" address check' 70 tristate '"eui64" address check'
70 depends on IP6_NF_IPTABLES
71 depends on NETFILTER_ADVANCED 71 depends on NETFILTER_ADVANCED
72 help 72 help
73 This module performs checking on the IPv6 source address 73 This module performs checking on the IPv6 source address
@@ -78,7 +78,6 @@ config IP6_NF_MATCH_EUI64
78 78
79config IP6_NF_MATCH_FRAG 79config IP6_NF_MATCH_FRAG
80 tristate '"frag" Fragmentation header match support' 80 tristate '"frag" Fragmentation header match support'
81 depends on IP6_NF_IPTABLES
82 depends on NETFILTER_ADVANCED 81 depends on NETFILTER_ADVANCED
83 help 82 help
84 frag matching allows you to match packets based on the fragmentation 83 frag matching allows you to match packets based on the fragmentation
@@ -88,7 +87,6 @@ config IP6_NF_MATCH_FRAG
88 87
89config IP6_NF_MATCH_OPTS 88config IP6_NF_MATCH_OPTS
90 tristate '"hbh" hop-by-hop and "dst" opts header match support' 89 tristate '"hbh" hop-by-hop and "dst" opts header match support'
91 depends on IP6_NF_IPTABLES
92 depends on NETFILTER_ADVANCED 90 depends on NETFILTER_ADVANCED
93 help 91 help
94 This allows one to match packets based on the hop-by-hop 92 This allows one to match packets based on the hop-by-hop
@@ -98,7 +96,6 @@ config IP6_NF_MATCH_OPTS
98 96
99config IP6_NF_MATCH_HL 97config IP6_NF_MATCH_HL
100 tristate '"hl" match support' 98 tristate '"hl" match support'
101 depends on IP6_NF_IPTABLES
102 depends on NETFILTER_ADVANCED 99 depends on NETFILTER_ADVANCED
103 help 100 help
104 HL matching allows you to match packets based on the hop 101 HL matching allows you to match packets based on the hop
@@ -108,7 +105,6 @@ config IP6_NF_MATCH_HL
108 105
109config IP6_NF_MATCH_IPV6HEADER 106config IP6_NF_MATCH_IPV6HEADER
110 tristate '"ipv6header" IPv6 Extension Headers Match' 107 tristate '"ipv6header" IPv6 Extension Headers Match'
111 depends on IP6_NF_IPTABLES
112 default m if NETFILTER_ADVANCED=n 108 default m if NETFILTER_ADVANCED=n
113 help 109 help
114 This module allows one to match packets based upon 110 This module allows one to match packets based upon
@@ -118,7 +114,6 @@ config IP6_NF_MATCH_IPV6HEADER
118 114
119config IP6_NF_MATCH_MH 115config IP6_NF_MATCH_MH
120 tristate '"mh" match support' 116 tristate '"mh" match support'
121 depends on IP6_NF_IPTABLES
122 depends on NETFILTER_ADVANCED 117 depends on NETFILTER_ADVANCED
123 help 118 help
124 This module allows one to match MH packets. 119 This module allows one to match MH packets.
@@ -127,7 +122,6 @@ config IP6_NF_MATCH_MH
127 122
128config IP6_NF_MATCH_RT 123config IP6_NF_MATCH_RT
129 tristate '"rt" Routing header match support' 124 tristate '"rt" Routing header match support'
130 depends on IP6_NF_IPTABLES
131 depends on NETFILTER_ADVANCED 125 depends on NETFILTER_ADVANCED
132 help 126 help
133 rt matching allows you to match packets based on the routing 127 rt matching allows you to match packets based on the routing
@@ -138,7 +132,6 @@ config IP6_NF_MATCH_RT
138# The targets 132# The targets
139config IP6_NF_TARGET_LOG 133config IP6_NF_TARGET_LOG
140 tristate "LOG target support" 134 tristate "LOG target support"
141 depends on IP6_NF_IPTABLES
142 default m if NETFILTER_ADVANCED=n 135 default m if NETFILTER_ADVANCED=n
143 help 136 help
144 This option adds a `LOG' target, which allows you to create rules in 137 This option adds a `LOG' target, which allows you to create rules in
@@ -148,7 +141,6 @@ config IP6_NF_TARGET_LOG
148 141
149config IP6_NF_FILTER 142config IP6_NF_FILTER
150 tristate "Packet filtering" 143 tristate "Packet filtering"
151 depends on IP6_NF_IPTABLES
152 default m if NETFILTER_ADVANCED=n 144 default m if NETFILTER_ADVANCED=n
153 help 145 help
154 Packet filtering defines a table `filter', which has a series of 146 Packet filtering defines a table `filter', which has a series of
@@ -170,7 +162,6 @@ config IP6_NF_TARGET_REJECT
170 162
171config IP6_NF_MANGLE 163config IP6_NF_MANGLE
172 tristate "Packet mangling" 164 tristate "Packet mangling"
173 depends on IP6_NF_IPTABLES
174 default m if NETFILTER_ADVANCED=n 165 default m if NETFILTER_ADVANCED=n
175 help 166 help
176 This option adds a `mangle' table to iptables: see the man page for 167 This option adds a `mangle' table to iptables: see the man page for
@@ -198,7 +189,6 @@ config IP6_NF_TARGET_HL
198 189
199config IP6_NF_RAW 190config IP6_NF_RAW
200 tristate 'raw table support (required for TRACE)' 191 tristate 'raw table support (required for TRACE)'
201 depends on IP6_NF_IPTABLES
202 depends on NETFILTER_ADVANCED 192 depends on NETFILTER_ADVANCED
203 help 193 help
204 This option adds a `raw' table to ip6tables. This table is the very 194 This option adds a `raw' table to ip6tables. This table is the very
@@ -211,7 +201,6 @@ config IP6_NF_RAW
211# security table for MAC policy 201# security table for MAC policy
212config IP6_NF_SECURITY 202config IP6_NF_SECURITY
213 tristate "Security table" 203 tristate "Security table"
214 depends on IP6_NF_IPTABLES
215 depends on SECURITY 204 depends on SECURITY
216 depends on NETFILTER_ADVANCED 205 depends on NETFILTER_ADVANCED
217 help 206 help
@@ -220,5 +209,7 @@ config IP6_NF_SECURITY
220 209
221 If unsure, say N. 210 If unsure, say N.
222 211
212endif # IP6_NF_IPTABLES
213
223endmenu 214endmenu
224 215