/Linux-v5.4/net/ipv6/ |
D | sysctl_net_ipv6.c | 36 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy() 47 .data = &init_net.ipv6.sysctl.bindv6only, 54 .data = &init_net.ipv6.sysctl.anycast_src_echo_reply, 61 .data = &init_net.ipv6.sysctl.flowlabel_consistency, 68 .data = &init_net.ipv6.sysctl.auto_flowlabels, 77 .data = &init_net.ipv6.sysctl.fwmark_reflect, 84 .data = &init_net.ipv6.sysctl.idgen_retries, 91 .data = &init_net.ipv6.sysctl.idgen_delay, 98 .data = &init_net.ipv6.sysctl.flowlabel_state_ranges, 105 .data = &init_net.ipv6.sysctl.ip_nonlocal_bind, [all …]
|
D | af_inet6.c | 211 np->repflow = net->ipv6.sysctl.flowlabel_reflect & FLOWLABEL_REFLECT_ESTABLISHED; in inet6_create() 212 sk->sk_ipv6only = net->ipv6.sysctl.bindv6only; in inet6_create() 873 net->ipv6.sysctl.bindv6only = 0; in inet6_net_init() 874 net->ipv6.sysctl.icmpv6_time = 1*HZ; in inet6_net_init() 875 net->ipv6.sysctl.icmpv6_echo_ignore_all = 0; in inet6_net_init() 876 net->ipv6.sysctl.icmpv6_echo_ignore_multicast = 0; in inet6_net_init() 877 net->ipv6.sysctl.icmpv6_echo_ignore_anycast = 0; in inet6_net_init() 883 bitmap_set(net->ipv6.sysctl.icmpv6_ratemask, 0, ICMPV6_ERRMSG_MAX + 1); in inet6_net_init() 884 bitmap_clear(net->ipv6.sysctl.icmpv6_ratemask, ICMPV6_PKT_TOOBIG, 1); in inet6_net_init() 885 net->ipv6.sysctl.icmpv6_ratemask_ptr = net->ipv6.sysctl.icmpv6_ratemask; in inet6_net_init() [all …]
|
D | icmp.c | 173 if (!test_bit(type, net->ipv6.sysctl.icmpv6_ratemask)) in icmpv6_mask_allow() 216 int tmo = net->ipv6.sysctl.icmpv6_time; in icmpv6_xrlim_allow() 689 net->ipv6.sysctl.icmpv6_echo_ignore_multicast) in icmpv6_echo_reply() 695 if (acast && net->ipv6.sysctl.icmpv6_echo_ignore_anycast) in icmpv6_echo_reply() 699 !(net->ipv6.sysctl.anycast_src_echo_reply && acast)) in icmpv6_echo_reply() 706 if (net->ipv6.sysctl.flowlabel_reflect & FLOWLABEL_REFLECT_ICMPV6_ECHO_REPLIES) in icmpv6_echo_reply() 870 if (!net->ipv6.sysctl.icmpv6_echo_ignore_all) in icmpv6_rcv() 1123 .data = &init_net.ipv6.sysctl.icmpv6_time, 1130 .data = &init_net.ipv6.sysctl.icmpv6_echo_ignore_all, 1137 .data = &init_net.ipv6.sysctl.icmpv6_echo_ignore_multicast, [all …]
|
D | xfrm6_policy.c | 215 net->ipv6.sysctl.xfrm6_hdr = hdr; in xfrm6_net_sysctl_init() 229 if (!net->ipv6.sysctl.xfrm6_hdr) in xfrm6_net_sysctl_exit() 232 table = net->ipv6.sysctl.xfrm6_hdr->ctl_table_arg; in xfrm6_net_sysctl_exit() 233 unregister_net_sysctl_table(net->ipv6.sysctl.xfrm6_hdr); in xfrm6_net_sysctl_exit()
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | ip_defrag.sh | 15 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1 16 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1 17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1 19 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1 20 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1 21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1 23 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null… 24 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null… 25 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1 28 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
|
D | route_localnet.sh | 16 sysctl -w net.ipv4.conf.veth0.route_localnet=1 17 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.route_localnet=1 40 sysctl -w net.ipv4.conf.veth0.arp_announce=2 41 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_announce=2 57 sysctl -w net.ipv4.conf.veth0.arp_ignore=3 58 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_ignore=3
|
D | fib_nexthops.sh | 127 ip netns exec ${n} sysctl -qw net.ipv4.ip_forward=1 128 ip netns exec ${n} sysctl -qw net.ipv4.fib_multipath_use_neigh=1 129 ip netns exec ${n} sysctl -qw net.ipv4.conf.default.ignore_routes_with_linkdown=1 130 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 131 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.forwarding=1 132 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.forwarding=1 133 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1 134 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.accept_dad=0 135 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.accept_dad=0
|
D | icmp_redirect.sh | 176 h[12]) ip netns exec $ns sysctl -q -w net.ipv4.conf.all.accept_redirects=1 177 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0 178 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1 179 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1 181 r[12]) ip netns exec $ns sysctl -q -w net.ipv4.ip_forward=1 182 ip netns exec $ns sysctl -q -w net.ipv4.conf.all.send_redirects=1 184 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1 185 ip netns exec $ns sysctl -q -w net.ipv6.route.mtu_expires=10
|
D | fib_nexthop_multiprefix.sh | 81 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1 84 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0 87 ip netns exec $ns sysctl -q -w net.ipv4.ip_forward=1 88 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
|
/Linux-v5.4/Documentation/bpf/ |
D | prog_cgroup_sysctl.rst | 8 provides cgroup-bpf hook for sysctl. 11 process inside that cgroup tries to read from or write to sysctl knob in proc. 30 * ``write`` indicates whether sysctl value is being read (``0``) or written 33 * ``file_pos`` indicates file position sysctl is being accessed at, read 35 position in sysctl proc file ``read(2)`` will be reading from or ``write(2)`` 37 whole sysctl value by ``bpf_sysctl_set_new_value()`` on ``write(2)`` even 39 value to the field can be used to access part of sysctl value starting from 40 specified ``file_pos``. Not all sysctl support access with ``file_pos != 41 0``, e.g. writes to numeric sysctl entries must always be at file position 42 ``0``. See also ``kernel.sysctl_writes_strict`` sysctl. [all …]
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_kmod.sh | 17 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null 18 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null 44 JE=`sysctl -n net.core.bpf_jit_enable` 45 JH=`sysctl -n net.core.bpf_jit_harden` 50 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null 51 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
|
D | test_sysctl.c | 33 const char *sysctl; member 54 .sysctl = "kernel/ostype", 65 .sysctl = "kernel/ostype", 76 .sysctl = "kernel/ostype", 97 .sysctl = "kernel/ostype", 118 .sysctl = "kernel/domainname", 134 .sysctl = "kernel/ostype", 155 .sysctl = "kernel/ostype", 182 .sysctl = "kernel/ostype", 198 .sysctl = "kernel/ostype", [all …]
|
D | test_tcp_check_syncookie.sh | 39 ns1_exec sysctl -w net.ipv4.tcp_syncookies=2 40 ns1_exec sysctl -w net.ipv4.tcp_window_scaling=0 41 ns1_exec sysctl -w net.ipv4.tcp_timestamps=0 42 ns1_exec sysctl -w net.ipv4.tcp_sack=0
|
D | test_lwt_seg6local.sh | 130 ip netns exec ns1 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 131 ip netns exec ns2 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 132 ip netns exec ns3 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 133 ip netns exec ns4 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 134 ip netns exec ns5 sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 136 ip netns exec ns6 sysctl net.ipv6.conf.all.seg6_enabled=1 > /dev/null 137 ip netns exec ns6 sysctl net.ipv6.conf.lo.seg6_enabled=1 > /dev/null 138 ip netns exec ns6 sysctl net.ipv6.conf.veth10.seg6_enabled=1 > /dev/null
|
D | test_tc_tunnel.sh | 248 ip netns exec "${ns2}" sysctl -qw net.mpls.platform_labels=65536 251 ip netns exec "${ns2}" sysctl -qw net.mpls.conf.testtun0.input=1 252 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.lo.rp_filter=0 259 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.rp_filter=0 262 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.testtun0.rp_filter=0
|
D | test_select_reuseport.c | 160 static int read_int_sysctl(const char *sysctl) in read_int_sysctl() argument 165 fd = open(sysctl, 0); in read_int_sysctl() 167 sysctl, fd, errno); in read_int_sysctl() 171 sysctl, ret, errno); in read_int_sysctl() 177 static void write_int_sysctl(const char *sysctl, int v) in write_int_sysctl() argument 182 fd = open(sysctl, O_RDWR); in write_int_sysctl() 184 sysctl, fd, errno); in write_int_sysctl() 189 "sysctl:%s ret:%d size:%d errno:%d\n", sysctl, ret, size, errno); in write_int_sysctl()
|
/Linux-v5.4/samples/bpf/ |
D | tc_l2_redirect.sh | 48 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0 49 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ipt2.rp_filter=0 53 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0 54 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ip6t2.rp_filter=0 65 sysctl -q -w net.ipv4.conf.all.rp_filter=0 66 sysctl -q -w net.ipv6.conf.all.forwarding=1 78 sysctl -q -w net.ipv4.conf.all.rp_filter=$RP_FILTER 79 sysctl -q -w net.ipv6.conf.all.forwarding=$IPV6_FORWARDING 94 sysctl -q -w net.ipv4.conf.ipt.rp_filter=0 95 sysctl -q -w net.ipv4.conf.ipt.forwarding=1 [all …]
|
D | do_hbm_test.sh | 214 sysctl -w -q -n net.ipv4.tcp_ecn=1 218 cur_cc=`sysctl -n net.ipv4.tcp_congestion_control` 220 sysctl -w -q -n net.ipv4.tcp_congestion_control=$cc 394 sysctl -w -q -n net.ipv4.tcp_congestion_control=$cur_cc 397 sysctl -w -q -n net.ipv4.tcp_ecn=0
|
/Linux-v5.4/drivers/phy/ralink/ |
D | phy-ralink-usb.c | 58 struct regmap *sysctl; member 97 regmap_update_bits(phy->sysctl, RT_SYSC_REG_CLKCFG1, in ralink_usb_phy_power_on() 101 regmap_update_bits(phy->sysctl, RT_SYSC_REG_SYSCFG1, in ralink_usb_phy_power_on() 119 regmap_read(phy->sysctl, RT_SYSC_REG_USB_PHY_CFG, &t); in ralink_usb_phy_power_on() 135 regmap_update_bits(phy->sysctl, RT_SYSC_REG_CLKCFG1, in ralink_usb_phy_power_off() 189 phy->sysctl = syscon_regmap_lookup_by_phandle(dev->of_node, "ralink,sysctl"); in ralink_usb_phy_probe() 190 if (IS_ERR(phy->sysctl)) { in ralink_usb_phy_probe() 192 return PTR_ERR(phy->sysctl); in ralink_usb_phy_probe()
|
/Linux-v5.4/drivers/pcmcia/ |
D | ti113x.h | 507 u32 sysctl; in ti12xx_tie_interrupts() local 510 sysctl = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti12xx_tie_interrupts() 511 if (sysctl & TI122X_SCR_INTRTIE) in ti12xx_tie_interrupts() 520 sysctl |= TI122X_SCR_INTRTIE; in ti12xx_tie_interrupts() 521 config_writel(socket, TI113X_SYSTEM_CONTROL, sysctl); in ti12xx_tie_interrupts() 529 u32 sysctl = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti12xx_untie_interrupts() local 530 sysctl &= ~TI122X_SCR_INTRTIE; in ti12xx_untie_interrupts() 531 config_writel(socket, TI113X_SYSTEM_CONTROL, sysctl); in ti12xx_untie_interrupts() 543 u32 mfunc, mfunc_old, devctl, sysctl; in ti12xx_irqroute_func1() local 552 sysctl = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti12xx_irqroute_func1() [all …]
|
/Linux-v5.4/arch/arm64/kernel/ |
D | armv8_deprecated.c | 235 struct ctl_table *insns_sysctl, *sysctl; in register_insn_emulation_sysctl() local 237 insns_sysctl = kcalloc(nr_insn_emulated + 1, sizeof(*sysctl), in register_insn_emulation_sysctl() 244 sysctl = &insns_sysctl[i]; in register_insn_emulation_sysctl() 246 sysctl->mode = 0644; in register_insn_emulation_sysctl() 247 sysctl->maxlen = sizeof(int); in register_insn_emulation_sysctl() 249 sysctl->procname = insn->ops->name; in register_insn_emulation_sysctl() 250 sysctl->data = insn; in register_insn_emulation_sysctl() 251 sysctl->extra1 = &insn->min; in register_insn_emulation_sysctl() 252 sysctl->extra2 = &insn->max; in register_insn_emulation_sysctl() 253 sysctl->proc_handler = emulation_proc_handler; in register_insn_emulation_sysctl()
|
/Linux-v5.4/tools/testing/selftests/netfilter/ |
D | nft_flowtable.sh | 22 log_netns=$(sysctl -n net.netfilter.nf_log_all_netns) 62 [ $log_netns -eq 0 ] && sysctl -q net.netfilter.nf_log_all_netns=$log_netns 67 sysctl -q net.netfilter.nf_log_all_netns=1 107 ip netns exec nsr$i sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 108 ip netns exec nsr$i sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null 116 ip netns exec ns$i sysctl net.ipv4.tcp_no_metrics_save=1 > /dev/null 119 ip netns exec ns$i sysctl net.ipv4.ip_no_pmtu_disc=1 > /dev/null 313 ip netns exec ns1 sysctl net.ipv4.ip_no_pmtu_disc=0 > /dev/null 314 ip netns exec ns2 sysctl net.ipv4.ip_no_pmtu_disc=0 > /dev/null
|
/Linux-v5.4/Documentation/devicetree/bindings/phy/ |
D | ralink-usb-phy.txt | 9 - ralink,sysctl: a phandle to a ralink syscon register region 20 ralink,sysctl = <&sysc>;
|
/Linux-v5.4/Documentation/networking/device_drivers/chelsio/ |
D | cxgb.txt | 118 sysctl -w net.ipv4.tcp_timestamps=0 121 sysctl -w net.ipv4.tcp_sack=0 124 sysctl -w net.ipv4.tcp_max_syn_backlog=3000 127 sysctl -w net.core.rmem_max=1024000 130 sysctl -w net.core.wmem_max=1024000 136 sysctl -w net.core.rmem_default=524287 139 sysctl -w net.core.wmem_default=524287 142 sysctl -w net.core.optmem_max=524287 145 sysctl -w net.core.netdev_max_backlog=300000 148 sysctl -w net.ipv4.tcp_rmem="10000000 10000000 10000000" [all …]
|
/Linux-v5.4/Documentation/admin-guide/ |
D | lockup-watchdogs.rst | 13 panic; a sysctl, "kernel.softlockup_panic", a kernel parameter, 23 behavior is changed, which can be done through a sysctl, 29 timeout is set through the confusingly named "kernel.panic" sysctl), 43 (compile-time initialized to 10 and configurable through sysctl of the 81 may be adjusted via the kernel.watchdog_cpumask sysctl. For
|