Daniel Lezcano | b0f159d | 2008-01-10 02:49:06 -0800 | [diff] [blame] | 1 | /* |
| 2 | * ipv6 in net namespaces |
| 3 | */ |
| 4 | |
Daniel Lezcano | e71e034 | 2008-01-10 02:56:03 -0800 | [diff] [blame] | 5 | #include <net/inet_frag.h> |
| 6 | |
Daniel Lezcano | b0f159d | 2008-01-10 02:49:06 -0800 | [diff] [blame] | 7 | #ifndef __NETNS_IPV6_H__ |
| 8 | #define __NETNS_IPV6_H__ |
| 9 | |
Daniel Lezcano | 760f2d0 | 2008-01-10 02:53:43 -0800 | [diff] [blame] | 10 | struct ctl_table_header; |
| 11 | |
| 12 | struct netns_sysctl_ipv6 { |
| 13 | #ifdef CONFIG_SYSCTL |
| 14 | struct ctl_table_header *table; |
Pavel Emelyanov | e4a2d5c | 2008-01-22 06:08:36 -0800 | [diff] [blame^] | 15 | struct ctl_table_header *frags_hdr; |
Daniel Lezcano | 760f2d0 | 2008-01-10 02:53:43 -0800 | [diff] [blame] | 16 | #endif |
Daniel Lezcano | e71e034 | 2008-01-10 02:56:03 -0800 | [diff] [blame] | 17 | struct inet_frags_ctl frags; |
Daniel Lezcano | 99bc9c4 | 2008-01-10 02:54:53 -0800 | [diff] [blame] | 18 | int bindv6only; |
Daniel Lezcano | 4990509 | 2008-01-10 03:01:01 -0800 | [diff] [blame] | 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; |
Daniel Lezcano | 41a7690 | 2008-01-10 03:02:40 -0800 | [diff] [blame] | 27 | int icmpv6_time; |
Daniel Lezcano | 760f2d0 | 2008-01-10 02:53:43 -0800 | [diff] [blame] | 28 | }; |
| 29 | |
Daniel Lezcano | b0f159d | 2008-01-10 02:49:06 -0800 | [diff] [blame] | 30 | struct netns_ipv6 { |
Daniel Lezcano | 760f2d0 | 2008-01-10 02:53:43 -0800 | [diff] [blame] | 31 | struct netns_sysctl_ipv6 sysctl; |
Pavel Emelyanov | e0da5a4 | 2008-01-10 17:42:55 -0800 | [diff] [blame] | 32 | struct ipv6_devconf *devconf_all; |
| 33 | struct ipv6_devconf *devconf_dflt; |
Pavel Emelyanov | ac18e75 | 2008-01-22 06:02:14 -0800 | [diff] [blame] | 34 | struct netns_frags frags; |
Daniel Lezcano | b0f159d | 2008-01-10 02:49:06 -0800 | [diff] [blame] | 35 | }; |
| 36 | #endif |