| /linux/tools/testing/selftests/net/packetdrill/ |
| A D | defaults.sh | 14 sysctl -q net.ipv4.tcp_timestamps=1 17 sysctl -q net.ipv4.tcp_syn_retries=5 18 sysctl -q net.ipv4.tcp_synack_retries=5 21 sysctl -q net.ipv4.tcp_frto=2 24 sysctl -q net.ipv4.tcp_sack=1 27 sysctl -q net.ipv4.tcp_dsack=1 30 sysctl -q net.ipv4.tcp_fack=0 33 sysctl -q net.ipv4.tcp_reordering=3 48 sysctl -q net.ipv4.tcp_ecn=0 54 sysctl -q net.ipv4.tcp_fastopen=0x70403 [all …]
|
| A D | set_sysctls.py | 27 sysctl = a.split('=') variable 31 cur_val = subprocess.check_output(['cat', sysctl[0]], universal_newlines=True) 32 print('echo "%s" > %s' % (cur_val.strip(), sysctl[0]), file=restore_file) 35 cmd = 'echo "%s" > %s' % (sysctl[1], sysctl[0])
|
| /linux/net/ipv6/ |
| A D | sysctl_net_ipv6.c | 40 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy() 56 ipv6.sysctl.multipath_hash_fields); in proc_rt6_multipath_hash_fields() 67 .data = &init_net.ipv6.sysctl.bindv6only, 96 .data = &init_net.ipv6.sysctl.fwmark_reflect, 103 .data = &init_net.ipv6.sysctl.idgen_retries, 110 .data = &init_net.ipv6.sysctl.idgen_delay, 202 .data = &init_net.ipv6.sysctl.ioam6_id, 210 .data = &init_net.ipv6.sysctl.ioam6_id_wide, 279 if (!net->ipv6.sysctl.hdr) in ipv6_sysctl_net_init() 286 if (!net->ipv6.sysctl.route_hdr) in ipv6_sysctl_net_init() [all …]
|
| /linux/tools/testing/selftests/net/ |
| A D | ip_defrag.sh | 17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1 18 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1 19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1 21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1 22 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1 23 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1 25 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null… 26 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null… 27 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1 30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
|
| A 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 42 sysctl -w net.ipv4.conf.veth0.arp_announce=2 43 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_announce=2 59 sysctl -w net.ipv4.conf.veth0.arp_ignore=3 60 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_ignore=3
|
| A D | ioam6.sh | 308 ip netns exec $ioam_node_alpha sysctl -wq net.ipv6.ioam6_id=${ALPHA[0]} 309 ip netns exec $ioam_node_alpha sysctl -wq net.ipv6.ioam6_id_wide=${ALPHA[1]} 316 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.conf.all.forwarding=1 317 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.ioam6_id=${BETA[0]} 318 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.ioam6_id_wide=${BETA[1]} 319 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.conf.veth0.ioam6_enabled=1 328 ip netns exec $ioam_node_gamma sysctl -wq net.ipv6.ioam6_id=${GAMMA[0]} 329 ip netns exec $ioam_node_gamma sysctl -wq net.ipv6.ioam6_id_wide=${GAMMA[1]} 330 ip netns exec $ioam_node_gamma sysctl -wq net.ipv6.conf.veth0.ioam6_enabled=1 408 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.conf.veth0.ioam6_enabled=0 [all …]
|
| A D | srv6_end_dt46_l3vpn_test.sh | 264 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0 265 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0 271 ip netns exec ${nsname} sysctl -wq net.ipv4.ip_forward=1 272 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.forwarding=1 285 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.all.accept_dad=0 286 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.default.accept_dad=0 290 ip netns exec ${rtname} sysctl -wq net.ipv4.conf.all.rp_filter=0 291 ip netns exec ${rtname} sysctl -wq net.ipv4.conf.default.rp_filter=0 305 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.all.accept_dad=0 306 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.default.accept_dad=0 [all …]
|
| A D | ndisc_unsolicited_na_test.sh | 85 ${IP_ROUTER_EXEC} sysctl -qw \ 87 ${IP_ROUTER_EXEC} sysctl -qw \ 89 ${IP_ROUTER_EXEC} sysctl -qw \ 91 ${IP_ROUTER_EXEC} sysctl -qw ${ROUTER_CONF}.disable_ipv6=0 97 ${IP_HOST_EXEC} sysctl -qw ${HOST_CONF}.ndisc_notify=1 98 ${IP_HOST_EXEC} sysctl -qw ${HOST_CONF}.disable_ipv6=0
|
| A D | srv6_hencap_red_l3vpn_test.sh | 387 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0 388 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0 389 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.forwarding=1 391 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.all.rp_filter=0 392 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.default.rp_filter=0 393 ip netns exec "${nsname}" sysctl -wq net.ipv4.ip_forward=1 522 ip netns exec "${hsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0 554 sysctl -wq net.ipv6.conf."${RT2HS_DEVNAME}".proxy_ndp=1 556 sysctl -wq net.ipv4.conf."${RT2HS_DEVNAME}".proxy_arp=1 561 sysctl -wq net.ipv4.conf."${RT2HS_DEVNAME}".rp_filter=0 [all …]
|
| A D | srv6_end_dx6_netfilter_test.sh | 184 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0 185 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0 194 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.forwarding=1 202 ip netns exec ${nsname} sysctl -wq net.netfilter.nf_hooks_lwtunnel=1 227 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.all.accept_dad=0 228 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.default.accept_dad=0 230 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.${rtveth}.proxy_ndp=1
|
| /linux/Documentation/bpf/ |
| A 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. 33 * ``file_pos`` indicates file position sysctl is being accessed at, read 42 ``0``. See also ``kernel.sysctl_writes_strict`` sysctl. 52 * ``0`` means "reject access to sysctl"; 61 Since sysctl knob is represented by a name and a value, sysctl specific BPF 64 * ``bpf_sysctl_get_name()`` to get sysctl name as it is visible in 69 ``read(2)`` from and ``write(2)`` to sysctl; 76 written to sysctl before actual write happens. Sysctl value will be 100 the result to make decision whether to allow or deny access to sysctl. [all …]
|
| /linux/tools/testing/selftests/net/netfilter/packetdrill/ |
| A D | common.sh | 7 sysctl -q net.netfilter.nf_conntrack_log_invalid=6 13 sysctl -q net.ipv4.tcp_rmem="4096 540000 $((15*1024*1024))" 14 sysctl -q net.ipv4.tcp_wmem="4096 $((256*1024)) 4194304" 17 sysctl -q net.ipv4.tcp_congestion_control=cubic 20 sysctl -q net.ipv4.tcp_slow_start_after_idle=0 23 sysctl -q net.ipv4.tcp_ecn=0 25 sysctl -q net.ipv4.tcp_notsent_lowat=4294967295 > /dev/null 2>&1
|
| /linux/tools/testing/selftests/net/netfilter/ |
| A D | nft_nat_zones.sh | 34 v4gc1=$(sysctl -n net.ipv4.neigh.default.gc_thresh1 2>/dev/null) 35 v4gc2=$(sysctl -n net.ipv4.neigh.default.gc_thresh2 2>/dev/null) 36 v4gc3=$(sysctl -n net.ipv4.neigh.default.gc_thresh3 2>/dev/null) 37 v6gc1=$(sysctl -n net.ipv6.neigh.default.gc_thresh1 2>/dev/null) 68 sysctl -q net.ipv6.neigh.default.gc_thresh1=512 2>/dev/null 69 sysctl -q net.ipv6.neigh.default.gc_thresh2=1024 2>/dev/null 70 sysctl -q net.ipv6.neigh.default.gc_thresh3=4096 2>/dev/null 71 sysctl -q net.ipv4.neigh.default.gc_thresh1=512 2>/dev/null 72 sysctl -q net.ipv4.neigh.default.gc_thresh2=1024 2>/dev/null 73 sysctl -q net.ipv4.neigh.default.gc_thresh3=4096 2>/dev/null [all …]
|
| A D | ipvs.sh | 124 ip netns exec "${ns1}" sysctl -qw net.ipv4.ip_forward=1 130 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.arp_ignore=1 131 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.arp_announce=2 133 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.rp_filter=0 143 ip netns exec "${ns1}" sysctl -qw net.ipv4.ip_forward=1 159 ip netns exec "${ns1}" sysctl -qw net.ipv4.ip_forward=0 168 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.arp_ignore=1 169 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.arp_announce=2 170 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.rp_filter=0 171 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.tunl0.rp_filter=0 [all …]
|
| /linux/Documentation/networking/ |
| A D | index.rst | 64 ioam6-sysctl 67 ip-sysctl 70 ipvs-sysctl 76 mpls-sysctl 78 mptcp-sysctl 86 netfilter-sysctl 89 nf_conntrack-sysctl 109 seg6-sysctl 111 smc-sysctl
|
| A D | mptcp-sysctl.rst | 16 sysctl. 29 This is a per-namespace sysctl. 52 per-namespace sysctl. 63 sysctl. 71 per-namespace sysctl. 85 This is a per-namespace sysctl. 96 sysctl. 108 This is a per-namespace sysctl.
|
| /linux/samples/bpf/ |
| A D | tc_l2_redirect.sh | 66 sysctl -q -w net.ipv4.conf.all.rp_filter=0 67 sysctl -q -w net.ipv6.conf.all.forwarding=1 68 sysctl -q -w net.ipv6.conf.all.disable_ipv6=0 80 sysctl -q -w net.ipv4.conf.all.rp_filter=$RP_FILTER 81 sysctl -q -w net.ipv6.conf.all.forwarding=$IPV6_FORWARDING 97 sysctl -q -w net.ipv4.conf.ipt.rp_filter=0 98 sysctl -q -w net.ipv4.conf.ipt.forwarding=1 103 sysctl -q -w net.ipv4.conf.ve1.forwarding=1 133 sysctl -q -w net.ipv4.conf.ip6t.rp_filter=0 134 sysctl -q -w net.ipv4.conf.ip6t.forwarding=1 [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| A 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", 157 .sysctl = "kernel/ostype", 178 .sysctl = "kernel/ostype", 205 .sysctl = "kernel/ostype", 221 .sysctl = "kernel/ostype", 487 .sysctl = "kernel/ostype", [all …]
|
| A D | test_kmod.sh | 28 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null 29 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null 56 JE=`sysctl -n net.core.bpf_jit_enable` 57 JH=`sysctl -n net.core.bpf_jit_harden` 62 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null 63 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
|
| /linux/drivers/phy/ralink/ |
| A 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() 183 phy->sysctl = syscon_regmap_lookup_by_phandle(dev->of_node, "ralink,sysctl"); in ralink_usb_phy_probe() 184 if (IS_ERR(phy->sysctl)) { in ralink_usb_phy_probe() 186 return PTR_ERR(phy->sysctl); in ralink_usb_phy_probe()
|
| /linux/Documentation/translations/zh_CN/admin-guide/ |
| A D | lockup-watchdogs.rst | 18 状态;通过sysctl命令设置“kernel.softlockup_panic”、使用内核启动参数 23 他中断没有机会运行的缺陷。与'softlockup'情况类似,除了使用sysctl命令设置 29 sysctl命令"kernel.panic"来设置),使系统在panic指定时间后自动重启。 38 (编译时默认初始化为10秒,也可通过”watchdog_thresh“这个sysctl接口来进行配置修改) 64 不论哪种情况都可以通过sysctl命令kernel.watchdog_cpumask来对没有运行watchdog线程
|
| /linux/Documentation/translations/zh_TW/admin-guide/ |
| A D | lockup-watchdogs.rst | 18 狀態;通過sysctl命令設置“kernel.softlockup_panic”、使用內核啓動參數 23 他中斷沒有機會運行的缺陷。與'softlockup'情況類似,除了使用sysctl命令設置 29 sysctl命令"kernel.panic"來設置),使系統在panic指定時間後自動重啓。 38 (編譯時默認初始化爲10秒,也可通過”watchdog_thresh“這個sysctl接口來進行配置修改) 64 不論哪種情況都可以通過sysctl命令kernel.watchdog_cpumask來對沒有運行watchdog線程
|
| /linux/arch/arm64/kernel/ |
| A D | armv8_deprecated.c | 56 struct ctl_table sysctl; member 537 struct ctl_table *sysctl; in register_insn_emulation() local 562 sysctl = &insn->sysctl; in register_insn_emulation() 564 sysctl->mode = 0644; in register_insn_emulation() 565 sysctl->maxlen = sizeof(int); in register_insn_emulation() 567 sysctl->procname = insn->name; in register_insn_emulation() 568 sysctl->data = &insn->current_mode; in register_insn_emulation() 569 sysctl->extra1 = &insn->min; in register_insn_emulation() 570 sysctl->extra2 = &insn->max; in register_insn_emulation() 571 sysctl->proc_handler = emulation_proc_handler; in register_insn_emulation() [all …]
|
| /linux/drivers/pcmcia/ |
| A 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() 530 sysctl &= ~TI122X_SCR_INTRTIE; in ti12xx_untie_interrupts() 543 u32 mfunc, mfunc_old, devctl, sysctl; in ti12xx_irqroute_func1() local 553 if (sysctl & TI122X_SCR_INTRTIE) in ti12xx_irqroute_func1() 658 u32 sysctl; in ti12xx_2nd_slot_empty() local 695 if (sysctl & TIXX21_SCR_TIEALL) in ti12xx_2nd_slot_empty() 747 u32 mfunc, devctl, sysctl; in ti12xx_power_hook() local [all …]
|
| /linux/Documentation/admin-guide/sysctl/ |
| A D | abi.rst | 7 .. See scripts/check-sysctl-docs to keep this up to date: 8 .. scripts/check-sysctl-docs -vtable="abi" \ 9 .. Documentation/admin-guide/sysctl/abi.rst \ 14 For general info, see Documentation/admin-guide/sysctl/index.rst.
|