]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/net/netns/ipv6.h
be2net: Fix driver load for VFs for Lancer
[mirror_ubuntu-bionic-kernel.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
6dceb036
EB
15 struct ctl_table_header *hdr;
16 struct ctl_table_header *route_hdr;
17 struct ctl_table_header *icmp_hdr;
e4a2d5c2 18 struct ctl_table_header *frags_hdr;
760f2d01 19#endif
99bc9c4e 20 int bindv6only;
4990509f
DL
21 int flush_delay;
22 int ip6_rt_max_size;
23 int ip6_rt_gc_min_interval;
24 int ip6_rt_gc_timeout;
25 int ip6_rt_gc_interval;
26 int ip6_rt_gc_elasticity;
27 int ip6_rt_mtu_expires;
28 int ip6_rt_min_advmss;
41a76906 29 int icmpv6_time;
760f2d01
DL
30};
31
b0f159db 32struct netns_ipv6 {
760f2d01 33 struct netns_sysctl_ipv6 sysctl;
e0da5a48
PE
34 struct ipv6_devconf *devconf_all;
35 struct ipv6_devconf *devconf_dflt;
ac18e750 36 struct netns_frags frags;
8280aa61
AD
37#ifdef CONFIG_NETFILTER
38 struct xt_table *ip6table_filter;
39 struct xt_table *ip6table_mangle;
40 struct xt_table *ip6table_raw;
e9d3897c 41#ifdef CONFIG_SECURITY
17e6e59f 42 struct xt_table *ip6table_security;
e9d3897c 43#endif
58f09b78 44#endif
8ed67789 45 struct rt6_info *ip6_null_entry;
c572872f 46 struct rt6_statistics *rt6_stats;
417f28bb 47 struct timer_list ip6_fib_timer;
58f09b78
DL
48 struct hlist_head *fib_table_hash;
49 struct fib6_table *fib6_main_tbl;
86393e52 50 struct dst_ops ip6_dst_ops;
6891a346
BT
51 unsigned int ip6_rt_gc_expire;
52 unsigned long ip6_rt_last_gc;
58f09b78 53#ifdef CONFIG_IPV6_MULTIPLE_TABLES
8ed67789
DL
54 struct rt6_info *ip6_prohibit_entry;
55 struct rt6_info *ip6_blk_hole_entry;
58f09b78 56 struct fib6_table *fib6_local_tbl;
dcabb819 57 struct fib_rules_ops *fib6_rules_ops;
8280aa61 58#endif
98c6d1b2 59 struct sock **icmp_sk;
1762f7e8 60 struct sock *ndisc_sk;
93ec926b 61 struct sock *tcp_sk;
b8ad0cbc 62 struct sock *igmp_sk;
bd91b8bf 63#ifdef CONFIG_IPV6_MROUTE
d1db275d 64#ifndef CONFIG_IPV6_MROUTE_MULTIPLE_TABLES
6bd52143 65 struct mr6_table *mrt6;
d1db275d
PM
66#else
67 struct list_head mr6_tables;
68 struct fib_rules_ops *mr6_rules_ops;
69#endif
bd91b8bf 70#endif
b0f159db
DL
71};
72#endif