hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/net/netns/ipv6.h
....@@ -7,7 +7,9 @@
77
88 #ifndef __NETNS_IPV6_H__
99 #define __NETNS_IPV6_H__
10
+#include <linux/android_kabi.h>
1011 #include <net/dst_ops.h>
12
+#include <uapi/linux/icmpv6.h>
1113
1214 struct ctl_table_header;
1315
....@@ -33,6 +35,10 @@
3335 int auto_flowlabels;
3436 int icmpv6_time;
3537 int icmpv6_echo_ignore_all;
38
+ int icmpv6_echo_ignore_multicast;
39
+ int icmpv6_echo_ignore_anycast;
40
+ DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1);
41
+ unsigned long *icmpv6_ratemask_ptr;
3642 int anycast_src_echo_reply;
3743 int ip_nonlocal_bind;
3844 int fwmark_reflect;
....@@ -45,6 +51,7 @@
4551 int max_dst_opts_len;
4652 int max_hbh_opts_len;
4753 int seg6_flowlabel;
54
+ bool skip_notify_on_dev_down;
4855 };
4956
5057 struct netns_ipv6 {
....@@ -52,7 +59,7 @@
5259 struct ipv6_devconf *devconf_all;
5360 struct ipv6_devconf *devconf_dflt;
5461 struct inet_peer_base *peers;
55
- struct netns_frags frags;
62
+ struct fqdir *fqdir;
5663 #ifdef CONFIG_NETFILTER
5764 struct xt_table *ip6table_filter;
5865 struct xt_table *ip6table_mangle;
....@@ -77,12 +84,15 @@
7784 #ifdef CONFIG_IPV6_MULTIPLE_TABLES
7885 unsigned int fib6_rules_require_fldissect;
7986 bool fib6_has_custom_rules;
87
+#ifdef CONFIG_IPV6_SUBTREES
88
+ unsigned int fib6_routes_require_src;
89
+#endif
8090 struct rt6_info *ip6_prohibit_entry;
8191 struct rt6_info *ip6_blk_hole_entry;
8292 struct fib6_table *fib6_local_tbl;
8393 struct fib_rules_ops *fib6_rules_ops;
8494 #endif
85
- struct sock **icmp_sk;
95
+ struct sock * __percpu *icmp_sk;
8696 struct sock *ndisc_sk;
8797 struct sock *tcp_sk;
8898 struct sock *igmp_sk;
....@@ -106,11 +116,13 @@
106116 spinlock_t lock;
107117 u32 seq;
108118 } ip6addrlbl_table;
119
+
120
+ ANDROID_KABI_RESERVE(1);
109121 };
110122
111123 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
112124 struct netns_nf_frag {
113
- struct netns_frags frags;
125
+ struct fqdir *fqdir;
114126 };
115127 #endif
116128