Lines Matching full:sysctl

188 ip netns exec "$ns2" sysctl -q net.ipv4.ip_forward=1
189 ip netns exec "$ns2" sysctl -q net.ipv6.conf.all.forwarding=1
200 ip netns exec "$ns3" sysctl -q net.ipv4.ip_forward=1
201 ip netns exec "$ns3" sysctl -q net.ipv6.conf.all.forwarding=1
211 ip netns exec $i sysctl -q net.mptcp.checksum_enabled=1
261 print_larger_title "New MPTCP socket can be blocked via sysctl"
264 if ! ip netns exec ${disabled_ns} sysctl net.mptcp >/dev/null; then
265 mptcp_lib_pr_fail "not able to list net.mptcp sysctl knobs"
266 mptcp_lib_result_fail "not able to list net.mptcp sysctl knobs"
272 if [ "$(ip netns exec ${disabled_ns} sysctl net.mptcp.enabled | awk '{ print $3 }')" -ne 1 ]; then
273 mptcp_lib_pr_fail "net.mptcp.enabled sysctl is not 1 by default"
274 mptcp_lib_result_fail "net.mptcp.enabled sysctl is not 1 by default"
278 ip netns exec ${disabled_ns} sysctl -q net.mptcp.enabled=0
286 mptcp_lib_pr_fail "New MPTCP socket cannot be blocked via sysctl"
287 mptcp_lib_result_fail "New MPTCP socket cannot be blocked via sysctl"
293 mptcp_lib_result_pass "New MPTCP socket can be blocked via sysctl"
483 cookies=$(ip netns exec ${listener_ns} sysctl net.ipv4.tcp_syncookies)
781 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=2
782 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=1
790 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=0
791 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=0
931 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=2
933 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=1