diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-06-13 00:22:18 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-08-10 07:35:20 -0400 |
commit | 57750a22ed022ed6fcdcc5bc58d16011ccfe575f (patch) | |
tree | 22009542552726649f04918d75c5273dea72c5cc /net/ipv6 | |
parent | 93bb1e9d117bfc60306b2b8bd9e0fa7ba3c88636 (diff) |
netfilter: conntrack: switch hook PFs to nfproto
Simple substitution to indicate that the fields indeed use the
NFPROTO_ space.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c index 2a15c2d66c69..a7f4cd607356 100644 --- a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c +++ b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | |||
@@ -265,42 +265,42 @@ static struct nf_hook_ops ipv6_conntrack_ops[] __read_mostly = { | |||
265 | { | 265 | { |
266 | .hook = ipv6_defrag, | 266 | .hook = ipv6_defrag, |
267 | .owner = THIS_MODULE, | 267 | .owner = THIS_MODULE, |
268 | .pf = PF_INET6, | 268 | .pf = NFPROTO_IPV6, |
269 | .hooknum = NF_INET_PRE_ROUTING, | 269 | .hooknum = NF_INET_PRE_ROUTING, |
270 | .priority = NF_IP6_PRI_CONNTRACK_DEFRAG, | 270 | .priority = NF_IP6_PRI_CONNTRACK_DEFRAG, |
271 | }, | 271 | }, |
272 | { | 272 | { |
273 | .hook = ipv6_conntrack_in, | 273 | .hook = ipv6_conntrack_in, |
274 | .owner = THIS_MODULE, | 274 | .owner = THIS_MODULE, |
275 | .pf = PF_INET6, | 275 | .pf = NFPROTO_IPV6, |
276 | .hooknum = NF_INET_PRE_ROUTING, | 276 | .hooknum = NF_INET_PRE_ROUTING, |
277 | .priority = NF_IP6_PRI_CONNTRACK, | 277 | .priority = NF_IP6_PRI_CONNTRACK, |
278 | }, | 278 | }, |
279 | { | 279 | { |
280 | .hook = ipv6_conntrack_local, | 280 | .hook = ipv6_conntrack_local, |
281 | .owner = THIS_MODULE, | 281 | .owner = THIS_MODULE, |
282 | .pf = PF_INET6, | 282 | .pf = NFPROTO_IPV6, |
283 | .hooknum = NF_INET_LOCAL_OUT, | 283 | .hooknum = NF_INET_LOCAL_OUT, |
284 | .priority = NF_IP6_PRI_CONNTRACK, | 284 | .priority = NF_IP6_PRI_CONNTRACK, |
285 | }, | 285 | }, |
286 | { | 286 | { |
287 | .hook = ipv6_defrag, | 287 | .hook = ipv6_defrag, |
288 | .owner = THIS_MODULE, | 288 | .owner = THIS_MODULE, |
289 | .pf = PF_INET6, | 289 | .pf = NFPROTO_IPV6, |
290 | .hooknum = NF_INET_LOCAL_OUT, | 290 | .hooknum = NF_INET_LOCAL_OUT, |
291 | .priority = NF_IP6_PRI_CONNTRACK_DEFRAG, | 291 | .priority = NF_IP6_PRI_CONNTRACK_DEFRAG, |
292 | }, | 292 | }, |
293 | { | 293 | { |
294 | .hook = ipv6_confirm, | 294 | .hook = ipv6_confirm, |
295 | .owner = THIS_MODULE, | 295 | .owner = THIS_MODULE, |
296 | .pf = PF_INET6, | 296 | .pf = NFPROTO_IPV6, |
297 | .hooknum = NF_INET_POST_ROUTING, | 297 | .hooknum = NF_INET_POST_ROUTING, |
298 | .priority = NF_IP6_PRI_LAST, | 298 | .priority = NF_IP6_PRI_LAST, |
299 | }, | 299 | }, |
300 | { | 300 | { |
301 | .hook = ipv6_confirm, | 301 | .hook = ipv6_confirm, |
302 | .owner = THIS_MODULE, | 302 | .owner = THIS_MODULE, |
303 | .pf = PF_INET6, | 303 | .pf = NFPROTO_IPV6, |
304 | .hooknum = NF_INET_LOCAL_IN, | 304 | .hooknum = NF_INET_LOCAL_IN, |
305 | .priority = NF_IP6_PRI_LAST-1, | 305 | .priority = NF_IP6_PRI_LAST-1, |
306 | }, | 306 | }, |