Lines Matching refs:ipv4
55 write_seqlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()
56 if (same_parity && !net->ipv4.ip_local_ports.warned) { in set_local_port_range()
57 net->ipv4.ip_local_ports.warned = true; in set_local_port_range()
60 net->ipv4.ip_local_ports.range[0] = range[0]; in set_local_port_range()
61 net->ipv4.ip_local_ports.range[1] = range[1]; in set_local_port_range()
62 write_sequnlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()
70 container_of(table->data, struct net, ipv4.ip_local_ports.range); in ipv4_local_port_range()
91 (range[0] < net->ipv4.sysctl_ip_prot_sock)) in ipv4_local_port_range()
105 ipv4.sysctl_ip_prot_sock); in ipv4_privileged_ports()
117 pports = net->ipv4.sysctl_ip_prot_sock; in ipv4_privileged_ports()
129 net->ipv4.sysctl_ip_prot_sock = pports; in ipv4_privileged_ports()
139 container_of(table->data, struct net, ipv4.ping_group_range.range); in inet_get_ping_group_range_table()
142 seq = read_seqbegin(&net->ipv4.ping_group_range.lock); in inet_get_ping_group_range_table()
146 } while (read_seqretry(&net->ipv4.ping_group_range.lock, seq)); in inet_get_ping_group_range_table()
154 container_of(table->data, struct net, ipv4.ping_group_range.range); in set_ping_group_range()
155 write_seqlock(&net->ipv4.ping_group_range.lock); in set_ping_group_range()
158 write_sequnlock(&net->ipv4.ping_group_range.lock); in set_ping_group_range()
204 ipv4.sysctl_ip_fwd_update_priority); in ipv4_fwd_update_priority()
217 ipv4.tcp_congestion_control); in proc_tcp_congestion_control()
290 ipv4.sysctl_tcp_fastopen); in proc_tcp_fastopen_key()
388 int enabled = init_net.ipv4.sysctl_tcp_early_demux; in proc_tcp_early_demux()
404 int enabled = init_net.ipv4.sysctl_udp_early_demux; in proc_udp_early_demux()
417 ipv4.sysctl_tcp_fastopen_blackhole_timeout); in proc_tfo_blackhole_detect_timeout()
422 atomic_set(&net->ipv4.tfo_active_disable_times, 0); in proc_tfo_blackhole_detect_timeout()
450 ipv4.sysctl_fib_multipath_hash_policy); in proc_fib_multipath_hash_policy()
468 ipv4.sysctl_fib_multipath_hash_fields); in proc_fib_multipath_hash_fields()
594 .data = &init_net.ipv4.sysctl_icmp_echo_ignore_all,
601 .data = &init_net.ipv4.sysctl_icmp_echo_enable_probe,
610 .data = &init_net.ipv4.sysctl_icmp_echo_ignore_broadcasts,
617 .data = &init_net.ipv4.sysctl_icmp_ignore_bogus_error_responses,
624 .data = &init_net.ipv4.sysctl_icmp_errors_use_inbound_ifaddr,
631 .data = &init_net.ipv4.sysctl_icmp_ratelimit,
638 .data = &init_net.ipv4.sysctl_icmp_ratemask,
645 .data = &init_net.ipv4.ping_group_range.range,
653 .data = &init_net.ipv4.sysctl_raw_l3mdev_accept,
663 .data = &init_net.ipv4.sysctl_tcp_ecn,
670 .data = &init_net.ipv4.sysctl_tcp_ecn_fallback,
677 .data = &init_net.ipv4.sysctl_ip_dynaddr,
684 .data = &init_net.ipv4.sysctl_ip_early_demux,
691 .data = &init_net.ipv4.sysctl_udp_early_demux,
698 .data = &init_net.ipv4.sysctl_tcp_early_demux,
705 .data = &init_net.ipv4.sysctl_nexthop_compat_mode,
714 .data = &init_net.ipv4.sysctl_ip_default_ttl,
723 .maxlen = sizeof(init_net.ipv4.ip_local_ports.range),
724 .data = &init_net.ipv4.ip_local_ports.range,
730 .data = &init_net.ipv4.sysctl_local_reserved_ports,
737 .data = &init_net.ipv4.sysctl_ip_no_pmtu_disc,
744 .data = &init_net.ipv4.sysctl_ip_fwd_use_pmtu,
751 .data = &init_net.ipv4.sysctl_ip_fwd_update_priority,
760 .data = &init_net.ipv4.sysctl_ip_nonlocal_bind,
767 .data = &init_net.ipv4.sysctl_ip_autobind_reuse,
776 .data = &init_net.ipv4.sysctl_fwmark_reflect,
783 .data = &init_net.ipv4.sysctl_tcp_fwmark_accept,
791 .data = &init_net.ipv4.sysctl_tcp_l3mdev_accept,
801 .data = &init_net.ipv4.sysctl_tcp_mtu_probing,
808 .data = &init_net.ipv4.sysctl_tcp_base_mss,
815 .data = &init_net.ipv4.sysctl_tcp_min_snd_mss,
824 .data = &init_net.ipv4.sysctl_tcp_mtu_probe_floor,
833 .data = &init_net.ipv4.sysctl_tcp_probe_threshold,
840 .data = &init_net.ipv4.sysctl_tcp_probe_interval,
848 .data = &init_net.ipv4.sysctl_igmp_llm_reports,
855 .data = &init_net.ipv4.sysctl_igmp_max_memberships,
862 .data = &init_net.ipv4.sysctl_igmp_max_msf,
870 .data = &init_net.ipv4.sysctl_igmp_qrv,
879 .data = &init_net.ipv4.tcp_congestion_control,
898 .data = &init_net.ipv4.sysctl_tcp_keepalive_time,
905 .data = &init_net.ipv4.sysctl_tcp_keepalive_probes,
912 .data = &init_net.ipv4.sysctl_tcp_keepalive_intvl,
919 .data = &init_net.ipv4.sysctl_tcp_syn_retries,
928 .data = &init_net.ipv4.sysctl_tcp_synack_retries,
936 .data = &init_net.ipv4.sysctl_tcp_syncookies,
944 .data = &init_net.ipv4.sysctl_tcp_migrate_req,
953 .data = &init_net.ipv4.sysctl_tcp_reordering,
960 .data = &init_net.ipv4.sysctl_tcp_retries1,
968 .data = &init_net.ipv4.sysctl_tcp_retries2,
975 .data = &init_net.ipv4.sysctl_tcp_orphan_retries,
982 .data = &init_net.ipv4.sysctl_tcp_fin_timeout,
989 .data = &init_net.ipv4.sysctl_tcp_notsent_lowat,
996 .data = &init_net.ipv4.sysctl_tcp_tw_reuse,
1005 .data = &init_net.ipv4.tcp_death_row.sysctl_max_tw_buckets,
1012 .data = &init_net.ipv4.sysctl_max_syn_backlog,
1019 .data = &init_net.ipv4.sysctl_tcp_fastopen,
1027 .data = &init_net.ipv4.sysctl_tcp_fastopen,
1038 .data = &init_net.ipv4.sysctl_tcp_fastopen_blackhole_timeout,
1047 .data = &init_net.ipv4.sysctl_fib_multipath_use_neigh,
1056 .data = &init_net.ipv4.sysctl_fib_multipath_hash_policy,
1065 .data = &init_net.ipv4.sysctl_fib_multipath_hash_fields,
1076 .data = &init_net.ipv4.sysctl_ip_prot_sock,
1083 .data = &init_net.ipv4.sysctl_udp_l3mdev_accept,
1093 .data = &init_net.ipv4.sysctl_tcp_sack,
1100 .data = &init_net.ipv4.sysctl_tcp_window_scaling,
1107 .data = &init_net.ipv4.sysctl_tcp_timestamps,
1114 .data = &init_net.ipv4.sysctl_tcp_early_retrans,
1123 .data = &init_net.ipv4.sysctl_tcp_recovery,
1130 .data = &init_net.ipv4.sysctl_tcp_thin_linear_timeouts,
1137 .data = &init_net.ipv4.sysctl_tcp_slow_start_after_idle,
1144 .data = &init_net.ipv4.sysctl_tcp_retrans_collapse,
1151 .data = &init_net.ipv4.sysctl_tcp_stdurg,
1158 .data = &init_net.ipv4.sysctl_tcp_rfc1337,
1165 .data = &init_net.ipv4.sysctl_tcp_abort_on_overflow,
1172 .data = &init_net.ipv4.sysctl_tcp_fack,
1179 .data = &init_net.ipv4.sysctl_tcp_max_reordering,
1186 .data = &init_net.ipv4.sysctl_tcp_dsack,
1193 .data = &init_net.ipv4.sysctl_tcp_app_win,
1200 .data = &init_net.ipv4.sysctl_tcp_adv_win_scale,
1209 .data = &init_net.ipv4.sysctl_tcp_frto,
1216 .data = &init_net.ipv4.sysctl_tcp_nometrics_save,
1223 .data = &init_net.ipv4.sysctl_tcp_no_ssthresh_metrics_save,
1232 .data = &init_net.ipv4.sysctl_tcp_moderate_rcvbuf,
1239 .data = &init_net.ipv4.sysctl_tcp_tso_win_divisor,
1246 .data = &init_net.ipv4.sysctl_tcp_workaround_signed_windows,
1253 .data = &init_net.ipv4.sysctl_tcp_limit_output_bytes,
1260 .data = &init_net.ipv4.sysctl_tcp_challenge_ack_limit,
1267 .data = &init_net.ipv4.sysctl_tcp_min_tso_segs,
1275 .data = &init_net.ipv4.sysctl_tcp_min_rtt_wlen,
1284 .data = &init_net.ipv4.sysctl_tcp_autocorking,
1293 .data = &init_net.ipv4.sysctl_tcp_invalid_ratelimit,
1300 .data = &init_net.ipv4.sysctl_tcp_pacing_ss_ratio,
1309 .data = &init_net.ipv4.sysctl_tcp_pacing_ca_ratio,
1318 .data = &init_net.ipv4.sysctl_tcp_wmem,
1319 .maxlen = sizeof(init_net.ipv4.sysctl_tcp_wmem),
1326 .data = &init_net.ipv4.sysctl_tcp_rmem,
1327 .maxlen = sizeof(init_net.ipv4.sysctl_tcp_rmem),
1334 .data = &init_net.ipv4.sysctl_tcp_comp_sack_delay_ns,
1341 .data = &init_net.ipv4.sysctl_tcp_comp_sack_slack_ns,
1348 .data = &init_net.ipv4.sysctl_tcp_comp_sack_nr,
1356 .data = &init_net.ipv4.sysctl_tcp_reflect_tos,
1365 .data = &init_net.ipv4.sysctl_udp_rmem_min,
1366 .maxlen = sizeof(init_net.ipv4.sysctl_udp_rmem_min),
1373 .data = &init_net.ipv4.sysctl_udp_wmem_min,
1374 .maxlen = sizeof(init_net.ipv4.sysctl_udp_wmem_min),
1381 .data = &init_net.ipv4.sysctl_fib_notify_on_flag_change,
1418 net->ipv4.ipv4_hdr = register_net_sysctl(net, "net/ipv4", table); in ipv4_sysctl_init_net()
1419 if (!net->ipv4.ipv4_hdr) in ipv4_sysctl_init_net()
1422 net->ipv4.sysctl_local_reserved_ports = kzalloc(65536 / 8, GFP_KERNEL); in ipv4_sysctl_init_net()
1423 if (!net->ipv4.sysctl_local_reserved_ports) in ipv4_sysctl_init_net()
1429 unregister_net_sysctl_table(net->ipv4.ipv4_hdr); in ipv4_sysctl_init_net()
1441 kfree(net->ipv4.sysctl_local_reserved_ports); in ipv4_sysctl_exit_net()
1442 table = net->ipv4.ipv4_hdr->ctl_table_arg; in ipv4_sysctl_exit_net()
1443 unregister_net_sysctl_table(net->ipv4.ipv4_hdr); in ipv4_sysctl_exit_net()