Home
last modified time | relevance | path

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

12345678910>>...16

/external/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast-lib.sh13 SYSFS_IGMP_MAX_MEMBERSHIPS=$(sysctl -b net.ipv4.igmp_max_memberships)
14 SYSFS_IGMP_MAX_MSF=$(sysctl -b net.ipv4.igmp_max_msf)
15 SYSFS_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.$(tst_iface).force_igmp_version)
16 SYSFS_ALL_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.all.force_igmp_version)
21 ROD sysctl -q -w net.ipv4.igmp_max_memberships=$igmp_max_memberships
22 ROD sysctl -q -w net.ipv4.igmp_max_msf=10
23 ROD sysctl -q -w net.ipv4.conf.$(tst_iface).force_igmp_version=0
24 ROD sysctl -q -w net.ipv4.conf.all.force_igmp_version=0
31 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version)
32 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version)
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
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
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
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 …]
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]}
313 ip netns exec ioam-node-alpha sysctl -wq net.ipv6.conf.veth0.ioam6_id=${ALPHA[4]}
314 ip netns exec ioam-node-alpha sysctl -wq net.ipv6.conf.veth0.ioam6_id_wide=${ALPHA[5]}
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
323 ip netns exec ioam-node-beta sysctl -wq net.ipv6.conf.veth0.ioam6_id=${BETA[2]}
324 ip netns exec ioam-node-beta sysctl -wq net.ipv6.conf.veth0.ioam6_id_wide=${BETA[3]}
[all …]
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
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 …]
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
/external/linux-kselftest/tools/testing/selftests/netfilter/
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)
43 v6gc1=$(sysctl -n net.ipv6.neigh.default.gc_thresh1 2>/dev/null)
44 v6gc2=$(sysctl -n net.ipv6.neigh.default.gc_thresh2 2>/dev/null)
45 v6gc3=$(sysctl -n net.ipv6.neigh.default.gc_thresh3 2>/dev/null)
55 sysctl -q net.ipv4.neigh.default.gc_thresh1=$v4gc1 2>/dev/null
56 sysctl -q net.ipv4.neigh.default.gc_thresh2=$v4gc2 2>/dev/null
57 sysctl -q net.ipv4.neigh.default.gc_thresh3=$v4gc3 2>/dev/null
58 sysctl -q net.ipv6.neigh.default.gc_thresh1=$v6gc1 2>/dev/null
[all …]
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
151 ip netns exec ns2 sysctl -qw net.ipv4.conf.veth21.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
177 ip netns exec ns1 sysctl -qw net.ipv4.conf.all.send_redirects=0
178 ip netns exec ns1 sysctl -qw net.ipv4.conf.default.send_redirects=0
185 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1
[all …]
Dnft_fib.sh15 log_netns=$(sysctl -n net.netfilter.nf_log_all_netns)
23 [ $log_netns -eq 0 ] && sysctl -q net.netfilter.nf_log_all_netns=$log_netns
52 sysctl -q net.netfilter.nf_log_all_netns=1
174 ip netns exec ${nsrouter} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
175 ip netns exec ${nsrouter} sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null
176 ip netns exec ${nsrouter} sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null
177 ip netns exec ${nsrouter} sysctl net.ipv4.conf.veth0.rp_filter=0 > /dev/null
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sysctl.c34 const char *sysctl; member
55 .sysctl = "kernel/ostype",
66 .sysctl = "kernel/ostype",
77 .sysctl = "kernel/ostype",
98 .sysctl = "kernel/ostype",
119 .sysctl = "kernel/domainname",
142 .sysctl = "kernel/domainname",
158 .sysctl = "kernel/ostype",
179 .sysctl = "kernel/ostype",
206 .sysctl = "kernel/ostype",
[all …]
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
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
Dtest_lwt_seg6local.sh130 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
/external/AFLplusplus/
Dafl-system-config30 sysctl -w kernel.core_uses_pid=0
32 test -e /etc/arch-release && sysctl -w kernel.core_pattern=
33 test -e /etc/arch-release || sysctl -w kernel.core_pattern=core
34 sysctl -w kernel.randomize_va_space=0
35 sysctl -w kernel.sched_child_runs_first=1
36 sysctl -w kernel.sched_autogroup_enabled=1
37 sysctl -w kernel.sched_migration_cost_ns=50000000 2>/dev/null
38 sysctl -w kernel.sched_latency_ns=250000000 2>/dev/null
Dafl-persistent-config69 <string>/usr/sbin/sysctl</string>
100 …test -d /etc/sysctl.d || echo Error: /etc/sysctl.d directory not found, cannot install shmem config
101 test -d /etc/sysctl.d -a '!' -e /etc/sysctl.d/99-fuzzing && {
103 cat << EOF > /etc/sysctl.d/99-fuzzing
/external/ltp/testcases/network/stress/tcp/uni-basic/
Dtcp4-uni-basic01149 sysctl -w net.ipv4.tcp_window_scaling=1 >/dev/null 2>&1
152 sysctl -w net.ipv4.tcp_dsack=1 >/dev/null 2>&1
155 sysctl -w net.ipv4.tcp_sack=1 >/dev/null 2>&1
264 sysctl -w net.ipv4.tcp_window_scaling=1 >/dev/null
270 sysctl -w net.ipv4.tcp_window_scaling=0 >/dev/null 2>&1
275 sysctl -w net.ipv4.tcp_dsack=1 >/dev/null
281 sysctl -w net.ipv4.tcp_dsack=0 >/dev/null 2>&1
286 sysctl -w net.ipv4.tcp_sack=1 >/dev/null
292 sysctl -w net.ipv4.tcp_sack=0 >/dev/null 2>&1
/external/cronet/base/process/
Dprocess_handle_openbsd.cc20 if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) in GetParentProcessId()
25 if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) in GetParentProcessId()
37 if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) == -1) in GetProcessExecutablePath()
40 if (sysctl(mib, std::size(mib), &kp, &len, NULL, 0) < 0) in GetProcessExecutablePath()
Dprocess_iterator_openbsd.cc28 if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) < 0) { in ProcessIterator()
39 if (sysctl(mib, std::size(mib), &kinfo_procs_[0], &len, NULL, 0) < 0) { in ProcessIterator()
77 if (sysctl(mib, std::size(mib), NULL, &data_len, NULL, 0) < 0) { in CheckForNextProcess()
83 if (sysctl(mib, std::size(mib), &data[0], &data_len, NULL, 0) < 0) { in CheckForNextProcess()
Dprocess_iterator_freebsd.cc29 if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) < 0) { in ProcessIterator()
40 if (sysctl(mib, std::size(mib), &kinfo_procs_[0], &len, NULL, 0) < 0) { in ProcessIterator()
77 if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) { in CheckForNextProcess()
84 if (sysctl(mib, std::size(mib), &data[0], &length, NULL, 0) < 0) { in CheckForNextProcess()
Dprocess_iterator_mac.cc36 if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) < 0) { in ProcessIterator()
48 if (sysctl(mib, std::size(mib), &kinfo_procs_[0], &len, NULL, 0) < 0) { in ProcessIterator()
85 if (sysctl(mib, std::size(mib), NULL, &data_len, NULL, 0) < 0) { in CheckForNextProcess()
91 if (sysctl(mib, std::size(mib), &data[0], &data_len, NULL, 0) < 0) { in CheckForNextProcess()
/external/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_violations.sh22 elif tst_check_cmds sysctl; then
23 PRINTK_RATE_LIMIT=`sysctl -n kernel.printk_ratelimit`
24 sysctl -wq kernel.printk_ratelimit=0
34 sysctl -wq kernel.printk_ratelimit=$PRINTK_RATE_LIMIT
/external/ltp/testcases/commands/sysctl/
Dsysctl02.sh49 sysctl -w -q $sys_name=$test_value 2>/dev/null
65 ROD sysctl -w -q $sys_name=0
76 [ -n "$orig_value" ] && sysctl -w -q $sys_name=$orig_value
/external/ltp/testcases/network/multicast/mc_cmds/
Dmc_cmds.sh39 val=$(sysctl -n $knob)
41 ROD sysctl -q ${knob}=0
90 [ "$knob_changed" ] && sysctl -q ${knob}=1

12345678910>>...16