Searched refs:sysctl (Results 1 – 25 of 371) sorted by relevance
12345678910>>...15
/external/ltp/testcases/network/stress/multicast/grp-operation/ |
D | mcast-lib.sh | 19 SYSFS_IGMP_MAX_MEMBERSHIPS=$(sysctl -b net.ipv4.igmp_max_memberships) 20 SYSFS_IGMP_MAX_MSF=$(sysctl -b net.ipv4.igmp_max_msf) 21 SYSFS_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.$(tst_iface).force_igmp_version) 22 SYSFS_ALL_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.all.force_igmp_version) 27 ROD sysctl -q -w net.ipv4.igmp_max_memberships=$igmp_max_memberships 28 ROD sysctl -q -w net.ipv4.igmp_max_msf=10 29 ROD sysctl -q -w net.ipv4.conf.$(tst_iface).force_igmp_version=0 30 ROD sysctl -q -w net.ipv4.conf.all.force_igmp_version=0 38 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version) 39 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version) [all …]
|
/external/linux-kselftest/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 | traceroute.sh | 85 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1 86 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 87 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1 88 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1 89 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.accept_dad=0 266 ip netns exec router sysctl -qw \
|
/external/linux-kselftest/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", 141 .sysctl = "kernel/domainname", 157 .sysctl = "kernel/ostype", 178 .sysctl = "kernel/ostype", 205 .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
|
/external/linux-kselftest/tools/testing/selftests/netfilter/ |
D | ipvs.sh | 141 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 …]
|
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 342 ip netns exec ns1 sysctl net.ipv4.ip_no_pmtu_disc=0 > /dev/null 343 ip netns exec ns2 sysctl net.ipv4.ip_no_pmtu_disc=0 > /dev/null
|
/external/ltp/testcases/network/busy_poll/ |
D | busy_poll01.sh | 12 sysctl -q -w net.core.busy_read=$busy_read_old 14 sysctl -q -w net.core.busy_poll=$busy_poll_old 24 ROD_SILENT sysctl -q -w net.core.busy_read=$value 25 ROD_SILENT sysctl -q -w net.core.busy_poll=$value
|
/external/ltp/testcases/network/stress/tcp/uni-basic/ |
D | tcp4-uni-basic01 | 149 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/ltp/testcases/kernel/security/integrity/ima/tests/ |
D | ima_violations.sh | 27 tst_check_cmds sysctl 29 PRINTK_RATE_LIMIT=`sysctl -n kernel.printk_ratelimit` 30 sysctl -wq kernel.printk_ratelimit=0 40 sysctl -wq kernel.printk_ratelimit=$PRINTK_RATE_LIMIT
|
/external/ltp/testcases/network/stress/multicast/query-flood/ |
D | mcast4-queryfld04 | 157 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null 163 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 165 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
D | mcast4-queryfld01 | 154 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null 160 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 161 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 162 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
D | mcast4-queryfld03 | 163 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null 169 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 170 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 171 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
D | mcast4-queryfld02 | 157 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null 163 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 165 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
D | mcast4-queryfld05 | 157 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null 163 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 165 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
D | mcast4-queryfld06 | 163 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null 169 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 170 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 171 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
/external/ltp/testcases/network/stress/multicast/packet-flood/ |
D | mcast4-pktfld01 | 157 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null 163 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 165 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
D | mcast4-pktfld02 | 160 sysctl -w net.ipv4.igmp_max_memberships=$MCASTNUM_NORMAL >/dev/null 166 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null 167 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null 168 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
|
/external/ltp/testcases/commands/sysctl/ |
D | sysctl02.sh | 51 sysctl -w -q $sys_name=$test_value 2>/dev/null 65 ROD sysctl -w -q $sys_name=0 80 [ -n "$orig_value" ] && sysctl -w -q $sys_name=$orig_value
|
/external/ltp/testcases/network/multicast/mc_cmds/ |
D | mc_cmds.sh | 40 val=$(sysctl -n $knob) 42 ROD sysctl -q ${knob}=0 91 [ "$knob_changed" ] && sysctl -q ${knob}=1
|
/external/autotest/client/site_tests/kernel_FirmwareRequest/ |
D | kernel_FirmwareRequest.py | 24 sysctl = "/proc/sys/kernel/chromiumos/module_locking" 27 if os.path.exists(sysctl): 28 open(sysctl, "w").write(value)
|
/external/linux-kselftest/tools/testing/selftests/livepatch/ |
D | functions.sh | 47 FTRACE_ENABLED=$(sysctl --values kernel.ftrace_enabled) 55 sysctl kernel.ftrace_enabled="$FTRACE_ENABLED" &> /dev/null 67 local sysctl="$1" 68 result=$(sysctl kernel.ftrace_enabled="$1" 2>&1 | paste --serial --delimiters=' ')
|
12345678910>>...15