]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/net/netns/ipv6.h
[NETNS][IPV6] rt6_info - move rt6_info structure inside the namespace
[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__
9
760f2d01
DL
10struct ctl_table_header;
11
12struct netns_sysctl_ipv6 {
13#ifdef CONFIG_SYSCTL
14 struct ctl_table_header *table;
e4a2d5c2 15 struct ctl_table_header *frags_hdr;
760f2d01 16#endif
99bc9c4e 17 int bindv6only;
4990509f
DL
18 int flush_delay;
19 int ip6_rt_max_size;
20 int ip6_rt_gc_min_interval;
21 int ip6_rt_gc_timeout;
22 int ip6_rt_gc_interval;
23 int ip6_rt_gc_elasticity;
24 int ip6_rt_mtu_expires;
25 int ip6_rt_min_advmss;
41a76906 26 int icmpv6_time;
760f2d01
DL
27};
28
b0f159db 29struct netns_ipv6 {
760f2d01 30 struct netns_sysctl_ipv6 sysctl;
e0da5a48
PE
31 struct ipv6_devconf *devconf_all;
32 struct ipv6_devconf *devconf_dflt;
ac18e750 33 struct netns_frags frags;
8280aa61
AD
34#ifdef CONFIG_NETFILTER
35 struct xt_table *ip6table_filter;
36 struct xt_table *ip6table_mangle;
37 struct xt_table *ip6table_raw;
58f09b78 38#endif
8ed67789 39 struct rt6_info *ip6_null_entry;
c572872f 40 struct rt6_statistics *rt6_stats;
63152fc0 41 struct timer_list *ip6_fib_timer;
58f09b78
DL
42 struct hlist_head *fib_table_hash;
43 struct fib6_table *fib6_main_tbl;
44#ifdef CONFIG_IPV6_MULTIPLE_TABLES
8ed67789
DL
45 struct rt6_info *ip6_prohibit_entry;
46 struct rt6_info *ip6_blk_hole_entry;
58f09b78 47 struct fib6_table *fib6_local_tbl;
dcabb819 48 struct fib_rules_ops *fib6_rules_ops;
8280aa61 49#endif
98c6d1b2 50 struct sock **icmp_sk;
b0f159db
DL
51};
52#endif