Home
last modified time | relevance | path

Searched refs:sysctl (Results 1 – 25 of 2660) sorted by relevance

12345678910>>...107

/linux/net/ipv6/
A Dsysctl_net_ipv6.c42 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy()
58 ipv6.sysctl.multipath_hash_fields); in proc_rt6_multipath_hash_fields()
69 .data = &init_net.ipv6.sysctl.bindv6only,
105 .data = &init_net.ipv6.sysctl.idgen_retries,
112 .data = &init_net.ipv6.sysctl.idgen_delay,
204 .data = &init_net.ipv6.sysctl.ioam6_id,
281 if (!net->ipv6.sysctl.hdr) in ipv6_sysctl_net_init()
284 net->ipv6.sysctl.route_hdr = in ipv6_sysctl_net_init()
286 if (!net->ipv6.sysctl.route_hdr) in ipv6_sysctl_net_init()
289 net->ipv6.sysctl.icmp_hdr = in ipv6_sysctl_net_init()
[all …]
A Daf_inet6.c216 sk->sk_ipv6only = net->ipv6.sysctl.bindv6only; in inet6_create()
940 net->ipv6.sysctl.bindv6only = 0; in inet6_net_init()
941 net->ipv6.sysctl.icmpv6_time = 1*HZ; in inet6_net_init()
942 net->ipv6.sysctl.icmpv6_echo_ignore_all = 0; in inet6_net_init()
952 net->ipv6.sysctl.icmpv6_ratemask_ptr = net->ipv6.sysctl.icmpv6_ratemask; in inet6_net_init()
954 net->ipv6.sysctl.flowlabel_consistency = 1; in inet6_net_init()
956 net->ipv6.sysctl.idgen_retries = 3; in inet6_net_init()
957 net->ipv6.sysctl.idgen_delay = 1 * HZ; in inet6_net_init()
958 net->ipv6.sysctl.flowlabel_state_ranges = 0; in inet6_net_init()
963 net->ipv6.sysctl.fib_notify_on_flag_change = 0; in inet6_net_init()
[all …]
A Dicmp.c180 if (!test_bit(type, net->ipv6.sysctl.icmpv6_ratemask)) in icmpv6_mask_allow()
223 int tmo = net->ipv6.sysctl.icmpv6_time; in icmpv6_xrlim_allow()
732 net->ipv6.sysctl.icmpv6_echo_ignore_multicast) in icmpv6_echo_reply()
742 !(net->ipv6.sysctl.anycast_src_echo_reply && acast)) in icmpv6_echo_reply()
925 if (!net->ipv6.sysctl.icmpv6_echo_ignore_all) in icmpv6_rcv()
929 if (!net->ipv6.sysctl.icmpv6_echo_ignore_all && in icmpv6_rcv()
1187 .data = &init_net.ipv6.sysctl.icmpv6_time,
1194 .data = &init_net.ipv6.sysctl.icmpv6_echo_ignore_all,
1215 .data = &init_net.ipv6.sysctl.icmpv6_ratemask_ptr,
1232 table[0].data = &net->ipv6.sysctl.icmpv6_time; in ipv6_icmp_sysctl_init()
[all …]
/linux/Documentation/bpf/
A Dprog_cgroup_sysctl.rst8 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/
A Dip_defrag.sh17 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 Droute_localnet.sh16 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
A Dsrv6_end_dt46_l3vpn_test.sh269 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
270 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
276 ip netns exec ${nsname} sysctl -wq net.ipv4.ip_forward=1
277 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.forwarding=1
292 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
293 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
307 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.all.accept_dad=0
308 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.default.accept_dad=0
316 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.${rtveth}.proxy_ndp=1
317 ip netns exec ${rtname} sysctl -wq net.ipv4.conf.${rtveth}.proxy_arp=1
[all …]
A Dioam6.sh311 ip netns exec ioam-node-alpha sysctl -wq net.ipv6.ioam6_id=${ALPHA[0]}
312 ip netns exec ioam-node-alpha sysctl -wq net.ipv6.ioam6_id_wide=${ALPHA[1]}
319 ip netns exec ioam-node-beta sysctl -wq net.ipv6.conf.all.forwarding=1
320 ip netns exec ioam-node-beta sysctl -wq net.ipv6.ioam6_id=${BETA[0]}
321 ip netns exec ioam-node-beta sysctl -wq net.ipv6.ioam6_id_wide=${BETA[1]}
322 ip netns exec ioam-node-beta sysctl -wq net.ipv6.conf.veth0.ioam6_enabled=1
331 ip netns exec ioam-node-gamma sysctl -wq net.ipv6.ioam6_id=${GAMMA[0]}
332 ip netns exec ioam-node-gamma sysctl -wq net.ipv6.ioam6_id_wide=${GAMMA[1]}
333 ip netns exec ioam-node-gamma sysctl -wq net.ipv6.conf.veth0.ioam6_enabled=1
413 ip netns exec ioam-node-beta sysctl -wq net.ipv6.conf.veth0.ioam6_enabled=0
[all …]
A Darp_ndisc_evict_nocarrier.sh27 sysctl -w net.ipv4.conf.veth0.ndisc_evict_nocarrier=1 >/dev/null 2>&1
28 sysctl -w net.ipv4.conf.all.ndisc_evict_nocarrier=1 >/dev/null 2>&1
55 ip netns exec me sysctl -w $1 >/dev/null 2>&1
82 sysctl -w "$1" >/dev/null 2>&1
104 sysctl -w net.ipv4.conf.veth0.arp_evict_nocarrier=1 >/dev/null 2>&1
105 sysctl -w net.ipv4.conf.all.arp_evict_nocarrier=1 >/dev/null 2>&1
A Dbareudp.sh233 ip netns exec "${NS1}" sysctl -qw net.ipv4.ip_forward=1
234 ip netns exec "${NS2}" sysctl -qw net.ipv4.ip_forward=1
241 ip netns exec "${NS1}" sysctl -qw net.ipv4.conf.all.rp_filter=0
242 ip netns exec "${NS2}" sysctl -qw net.ipv4.conf.all.rp_filter=0
243 ip netns exec "${NS1}" sysctl -qw net.ipv4.conf.default.rp_filter=0
244 ip netns exec "${NS2}" sysctl -qw net.ipv4.conf.default.rp_filter=0
257 ip netns exec "${NS1}" sysctl -qw net.ipv6.conf.all.forwarding=1
258 ip netns exec "${NS2}" sysctl -qw net.ipv6.conf.all.forwarding=1
273 ip netns exec "${NS1}" sysctl -qw net.mpls.platform_labels=256
274 ip netns exec "${NS2}" sysctl -qw net.mpls.platform_labels=256
[all …]
A Dsrv6_end_dt6_l3vpn_test.sh239 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
240 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
246 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.forwarding=1
261 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
262 ip netns exec ${hsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
275 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.all.accept_dad=0
276 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.default.accept_dad=0
283 ip netns exec ${rtname} sysctl -wq net.ipv6.conf.${rtveth}.proxy_ndp=1
/linux/tools/testing/selftests/netfilter/
A Dnft_nat_zones.sh40 v4gc1=$(sysctl -n net.ipv4.neigh.default.gc_thresh1 2>/dev/null)
41 v4gc2=$(sysctl -n net.ipv4.neigh.default.gc_thresh2 2>/dev/null)
42 v4gc3=$(sysctl -n net.ipv4.neigh.default.gc_thresh3 2>/dev/null)
55 sysctl -q net.ipv4.neigh.default.gc_thresh1=$v4gc1 2>/dev/null
106 sysctl -q net.ipv6.neigh.default.gc_thresh1=512 2>/dev/null
107 sysctl -q net.ipv6.neigh.default.gc_thresh2=1024 2>/dev/null
108 sysctl -q net.ipv6.neigh.default.gc_thresh3=4096 2>/dev/null
109 sysctl -q net.ipv4.neigh.default.gc_thresh1=512 2>/dev/null
110 sysctl -q net.ipv4.neigh.default.gc_thresh2=1024 2>/dev/null
111 sysctl -q net.ipv4.neigh.default.gc_thresh3=4096 2>/dev/null
[all …]
A Dipvs.sh141 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1
147 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1
148 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_announce=2
150 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.rp_filter=0
160 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1
176 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=0
185 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1
186 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_announce=2
187 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.rp_filter=0
188 ip netns exec ns2 sysctl -qw net.ipv4.conf.tunl0.rp_filter=0
[all …]
/linux/tools/testing/selftests/bpf/
A Dtest_sysctl.c33 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 Dtest_kmod.sh23 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null
24 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null
50 JE=`sysctl -n net.core.bpf_jit_enable`
51 JH=`sysctl -n net.core.bpf_jit_harden`
56 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null
57 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
A Dtest_tcp_check_syncookie.sh39 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
/linux/Documentation/networking/
A Dindex.rst60 ioam6-sysctl
64 ip-sysctl
67 ipvs-sysctl
73 mpls-sysctl
74 mptcp-sysctl
79 netfilter-sysctl
82 nf_conntrack-sysctl
98 seg6-sysctl
A Dmptcp-sysctl.rst14 per-namespace sysctl.
24 sysctl.
32 per-namespace sysctl.
45 This is a per-namespace sysctl.
57 This is a per-namespace sysctl.
/linux/samples/bpf/
A Dtc_l2_redirect.sh48 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.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
100 sysctl -q -w net.ipv4.conf.ve1.forwarding=1
130 sysctl -q -w net.ipv4.conf.ip6t.rp_filter=0
131 sysctl -q -w net.ipv4.conf.ip6t.forwarding=1
[all …]
/linux/drivers/pcmcia/
A Dti113x.h507 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/drivers/phy/ralink/
A Dphy-ralink-usb.c58 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()
188 phy->sysctl = syscon_regmap_lookup_by_phandle(dev->of_node, "ralink,sysctl"); in ralink_usb_phy_probe()
189 if (IS_ERR(phy->sysctl)) { in ralink_usb_phy_probe()
191 return PTR_ERR(phy->sysctl); in ralink_usb_phy_probe()
/linux/Documentation/translations/zh_CN/admin-guide/
A Dlockup-watchdogs.rst18 状态;通过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 Darmv8_deprecated.c235 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/Documentation/admin-guide/sysctl/
A Dabi.rst7 .. 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.
/linux/Documentation/devicetree/bindings/mfd/
A Dcanaan,k210-sysctl.yaml4 $id: http://devicetree.org/schemas/mfd/canaan,k210-sysctl.yaml#
20 - const: canaan,k210-sysctl
84 sysctl: syscon@50440000 {
85 compatible = "canaan,k210-sysctl",
104 regmap = <&sysctl>;

Completed in 44 milliseconds

12345678910>>...107