^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * ipv4 in net namespaces
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #ifndef __NETNS_IPV4_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define __NETNS_IPV4_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <linux/uidgid.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <net/inet_frag.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/rcupdate.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <linux/siphash.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <linux/android_kabi.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct tcpm_hash_bucket;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct ctl_table_header;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct ipv4_devconf;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct fib_rules_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) struct hlist_head;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) struct fib_table;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct sock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) struct local_ports {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) seqlock_t lock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) int range[2];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) bool warned;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) struct ping_group_range {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) seqlock_t lock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) kgid_t range[2];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) struct inet_hashinfo;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) struct inet_timewait_death_row {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) atomic_t tw_count;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) struct inet_hashinfo *hashinfo ____cacheline_aligned_in_smp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) int sysctl_max_tw_buckets;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) struct tcp_fastopen_context;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) struct netns_ipv4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) #ifdef CONFIG_SYSCTL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) struct ctl_table_header *forw_hdr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) struct ctl_table_header *frags_hdr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) struct ctl_table_header *ipv4_hdr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) struct ctl_table_header *route_hdr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) struct ctl_table_header *xfrm4_hdr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) struct ipv4_devconf *devconf_all;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) struct ipv4_devconf *devconf_dflt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) struct ip_ra_chain __rcu *ra_chain;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) struct mutex ra_mutex;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) #ifdef CONFIG_IP_MULTIPLE_TABLES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) struct fib_rules_ops *rules_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) bool fib_has_custom_rules;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) unsigned int fib_rules_require_fldissect;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) struct fib_table __rcu *fib_main;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) struct fib_table __rcu *fib_default;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) bool fib_has_custom_local_routes;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) #ifdef CONFIG_IP_ROUTE_CLASSID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) atomic_t fib_num_tclassid_users;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) struct hlist_head *fib_table_hash;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) bool fib_offload_disabled;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) struct sock *fibnl;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) struct sock * __percpu *icmp_sk;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) struct sock *mc_autojoin_sk;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) struct inet_peer_base *peers;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) struct sock * __percpu *tcp_sk;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) struct fqdir *fqdir;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) #ifdef CONFIG_NETFILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) struct xt_table *iptable_filter;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) struct xt_table *iptable_mangle;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) struct xt_table *iptable_raw;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) struct xt_table *arptable_filter;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) #ifdef CONFIG_SECURITY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) struct xt_table *iptable_security;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) struct xt_table *nat_table;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) int sysctl_icmp_echo_ignore_all;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) int sysctl_icmp_echo_ignore_broadcasts;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) int sysctl_icmp_ignore_bogus_error_responses;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) int sysctl_icmp_ratelimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) int sysctl_icmp_ratemask;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) int sysctl_icmp_errors_use_inbound_ifaddr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) struct local_ports ip_local_ports;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) int sysctl_tcp_ecn;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) int sysctl_tcp_ecn_fallback;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) int sysctl_ip_default_ttl;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) int sysctl_ip_no_pmtu_disc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) int sysctl_ip_fwd_use_pmtu;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) int sysctl_ip_fwd_update_priority;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) int sysctl_ip_nonlocal_bind;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) int sysctl_ip_autobind_reuse;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) /* Shall we try to damage output packets if routing dev changes? */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) int sysctl_ip_dynaddr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) int sysctl_ip_early_demux;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) #ifdef CONFIG_NET_L3_MASTER_DEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) int sysctl_raw_l3mdev_accept;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) int sysctl_tcp_early_demux;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) int sysctl_udp_early_demux;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) int sysctl_nexthop_compat_mode;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) int sysctl_fwmark_reflect;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) int sysctl_tcp_fwmark_accept;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) #ifdef CONFIG_NET_L3_MASTER_DEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) int sysctl_tcp_l3mdev_accept;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) int sysctl_tcp_mtu_probing;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) int sysctl_tcp_mtu_probe_floor;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) int sysctl_tcp_base_mss;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) int sysctl_tcp_min_snd_mss;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) int sysctl_tcp_probe_threshold;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) u32 sysctl_tcp_probe_interval;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) int sysctl_tcp_keepalive_time;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) int sysctl_tcp_keepalive_probes;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) int sysctl_tcp_keepalive_intvl;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) int sysctl_tcp_syn_retries;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) int sysctl_tcp_synack_retries;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) int sysctl_tcp_syncookies;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) int sysctl_tcp_reordering;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) int sysctl_tcp_retries1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) int sysctl_tcp_retries2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) int sysctl_tcp_orphan_retries;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) int sysctl_tcp_fin_timeout;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) unsigned int sysctl_tcp_notsent_lowat;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) int sysctl_tcp_tw_reuse;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) int sysctl_tcp_sack;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) int sysctl_tcp_window_scaling;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) int sysctl_tcp_timestamps;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) int sysctl_tcp_early_retrans;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) int sysctl_tcp_recovery;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) int sysctl_tcp_thin_linear_timeouts;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) int sysctl_tcp_slow_start_after_idle;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) int sysctl_tcp_retrans_collapse;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) int sysctl_tcp_stdurg;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) int sysctl_tcp_rfc1337;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) int sysctl_tcp_abort_on_overflow;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) int sysctl_tcp_fack;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) int sysctl_tcp_max_reordering;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) int sysctl_tcp_dsack;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) int sysctl_tcp_app_win;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) int sysctl_tcp_adv_win_scale;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) int sysctl_tcp_frto;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) int sysctl_tcp_nometrics_save;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) int sysctl_tcp_no_ssthresh_metrics_save;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) int sysctl_tcp_moderate_rcvbuf;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) int sysctl_tcp_tso_win_divisor;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) int sysctl_tcp_workaround_signed_windows;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) int sysctl_tcp_limit_output_bytes;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) int sysctl_tcp_challenge_ack_limit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) int sysctl_tcp_min_tso_segs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) int sysctl_tcp_min_rtt_wlen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) int sysctl_tcp_autocorking;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) int sysctl_tcp_invalid_ratelimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) int sysctl_tcp_pacing_ss_ratio;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) int sysctl_tcp_pacing_ca_ratio;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) int sysctl_tcp_wmem[3];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) int sysctl_tcp_rmem[3];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) int sysctl_tcp_comp_sack_nr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) unsigned long sysctl_tcp_comp_sack_delay_ns;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) unsigned long sysctl_tcp_comp_sack_slack_ns;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) struct inet_timewait_death_row tcp_death_row;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) int sysctl_max_syn_backlog;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) int sysctl_tcp_fastopen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) const struct tcp_congestion_ops __rcu *tcp_congestion_control;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) struct tcp_fastopen_context __rcu *tcp_fastopen_ctx;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) spinlock_t tcp_fastopen_ctx_lock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) unsigned int sysctl_tcp_fastopen_blackhole_timeout;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) atomic_t tfo_active_disable_times;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) unsigned long tfo_active_disable_stamp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) int sysctl_tcp_reflect_tos;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) int sysctl_udp_wmem_min;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) int sysctl_udp_rmem_min;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) #ifdef CONFIG_NET_L3_MASTER_DEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) int sysctl_udp_l3mdev_accept;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) int sysctl_igmp_max_memberships;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) int sysctl_igmp_max_msf;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) int sysctl_igmp_llm_reports;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) int sysctl_igmp_qrv;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) struct ping_group_range ping_group_range;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) atomic_t dev_addr_genid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) #ifdef CONFIG_SYSCTL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) unsigned long *sysctl_local_reserved_ports;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) unsigned long *sysctl_local_unbindable_ports;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) int sysctl_ip_prot_sock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) #ifdef CONFIG_IP_MROUTE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) #ifndef CONFIG_IP_MROUTE_MULTIPLE_TABLES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) struct mr_table *mrt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) struct list_head mr_tables;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) struct fib_rules_ops *mr_rules_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) #ifdef CONFIG_IP_ROUTE_MULTIPATH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) int sysctl_fib_multipath_use_neigh;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) int sysctl_fib_multipath_hash_policy;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) struct fib_notifier_ops *notifier_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) unsigned int fib_seq; /* protected by rtnl_mutex */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) struct fib_notifier_ops *ipmr_notifier_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) unsigned int ipmr_seq; /* protected by rtnl_mutex */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) atomic_t rt_genid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) siphash_key_t ip_id_key;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) ANDROID_KABI_RESERVE(1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) #endif