]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/net/netns/ipv6.h
ipv6: ip6mr: move unres_queue and timer to per-namespace data
[net-next-2.6.git] / include / net / netns / ipv6.h
CommitLineData
b0f159db
DL
1/*
2 * ipv6 in net namespaces
3 */
4
e71e0349
DL
5#include <net/inet_frag.h>
6
b0f159db
DL
7#ifndef __NETNS_IPV6_H__
8#define __NETNS_IPV6_H__
86393e52 9#include <net/dst_ops.h>
b0f159db 10
760f2d01
DL
11struct ctl_table_header;
12
13struct netns_sysctl_ipv6 {
14#ifdef CONFIG_SYSCTL
15 struct ctl_table_header *table;
e4a2d5c2 16 struct ctl_table_header *frags_hdr;
760f2d01 17#endif
99bc9c4e 18 int bindv6only;
4990509f
DL
19 int flush_delay;
20 int ip6_rt_max_size;
21 int ip6_rt_gc_min_interval;
22 int ip6_rt_gc_timeout;
23 int ip6_rt_gc_interval;
24 int ip6_rt_gc_elasticity;
25 int ip6_rt_mtu_expires;
26 int ip6_rt_min_advmss;
41a76906 27 int icmpv6_time;
760f2d01
DL
28};
29
b0f159db 30struct netns_ipv6 {
760f2d01 31 struct netns_sysctl_ipv6 sysctl;
e0da5a48
PE
32 struct ipv6_devconf *devconf_all;
33 struct ipv6_devconf *devconf_dflt;
ac18e750 34 struct netns_frags frags;
8280aa61
AD
35#ifdef CONFIG_NETFILTER
36 struct xt_table *ip6table_filter;
37 struct xt_table *ip6table_mangle;
38 struct xt_table *ip6table_raw;
e9d3897c 39#ifdef CONFIG_SECURITY
17e6e59f 40 struct xt_table *ip6table_security;
e9d3897c 41#endif
58f09b78 42#endif
8ed67789 43 struct rt6_info *ip6_null_entry;
c572872f 44 struct rt6_statistics *rt6_stats;
417f28bb 45 struct timer_list ip6_fib_timer;
58f09b78
DL
46 struct hlist_head *fib_table_hash;
47 struct fib6_table *fib6_main_tbl;
86393e52 48 struct dst_ops ip6_dst_ops;
6891a346
BT
49 unsigned int ip6_rt_gc_expire;
50 unsigned long ip6_rt_last_gc;
58f09b78 51#ifdef CONFIG_IPV6_MULTIPLE_TABLES
8ed67789
DL
52 struct rt6_info *ip6_prohibit_entry;
53 struct rt6_info *ip6_blk_hole_entry;
58f09b78 54 struct fib6_table *fib6_local_tbl;
dcabb819 55 struct fib_rules_ops *fib6_rules_ops;
8280aa61 56#endif
98c6d1b2 57 struct sock **icmp_sk;
1762f7e8 58 struct sock *ndisc_sk;
93ec926b 59 struct sock *tcp_sk;
b8ad0cbc 60 struct sock *igmp_sk;
bd91b8bf
BT
61#ifdef CONFIG_IPV6_MROUTE
62 struct sock *mroute6_sk;
c476efbc
PM
63 struct timer_list ipmr_expire_timer;
64 struct mfc6_cache *mfc6_unres_queue;
4a6258a0 65 struct mfc6_cache **mfc6_cache_array;
4e16880c
BT
66 struct mif_device *vif6_table;
67 int maxvif;
4045e57c 68 atomic_t cache_resolve_queue_len;
a21f3f99
BT
69 int mroute_do_assert;
70 int mroute_do_pim;
950d5704
BT
71#ifdef CONFIG_IPV6_PIMSM_V2
72 int mroute_reg_vif_num;
73#endif
bd91b8bf 74#endif
b0f159db
DL
75};
76#endif