Lines Matching full:sysctl
187 ip netns exec "$ns2" sysctl -q net.ipv4.ip_forward=1
188 ip netns exec "$ns2" sysctl -q net.ipv6.conf.all.forwarding=1
199 ip netns exec "$ns3" sysctl -q net.ipv4.ip_forward=1
200 ip netns exec "$ns3" sysctl -q net.ipv6.conf.all.forwarding=1
210 ip netns exec $i sysctl -q net.mptcp.checksum_enabled=1
260 print_larger_title "New MPTCP socket can be blocked via sysctl"
263 if ! ip netns exec ${disabled_ns} sysctl net.mptcp >/dev/null; then
264 mptcp_lib_pr_fail "not able to list net.mptcp sysctl knobs"
265 mptcp_lib_result_fail "not able to list net.mptcp sysctl knobs"
271 if [ "$(ip netns exec ${disabled_ns} sysctl net.mptcp.enabled | awk '{ print $3 }')" -ne 1 ]; then
272 mptcp_lib_pr_fail "net.mptcp.enabled sysctl is not 1 by default"
273 mptcp_lib_result_fail "net.mptcp.enabled sysctl is not 1 by default"
277 ip netns exec ${disabled_ns} sysctl -q net.mptcp.enabled=0
285 mptcp_lib_pr_fail "New MPTCP socket cannot be blocked via sysctl"
286 mptcp_lib_result_fail "New MPTCP socket cannot be blocked via sysctl"
292 mptcp_lib_result_pass "New MPTCP socket can be blocked via sysctl"
478 cookies=$(ip netns exec ${listener_ns} sysctl net.ipv4.tcp_syncookies)
776 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=2
777 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=1
785 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=0
786 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=0
926 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=2
928 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=1