Home
last modified time | relevance | path

Searched refs:write_sysctl (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf_skc_cls_ingress.c50 if (write_sysctl("/proc/sys/net/ipv4/tcp_window_scaling", "1") || in prepare_netns()
51 write_sysctl("/proc/sys/net/ipv4/tcp_timestamps", "1") || in prepare_netns()
52 write_sysctl("/proc/sys/net/ipv4/tcp_sack", "1")) in prepare_netns()
80 if (write_sysctl("/proc/sys/net/ipv4/tcp_syncookies", "1")) in test_conn()
135 if (write_sysctl("/proc/sys/net/ipv4/tcp_syncookies", "2")) in test_syncookie()
Dfib_lookup.c84 err = write_sysctl("/proc/sys/net/ipv4/neigh/veth1/gc_stale_time", "900"); in setup_netns()
88 err = write_sysctl("/proc/sys/net/ipv6/neigh/veth1/gc_stale_time", "900"); in setup_netns()
111 err = write_sysctl("/proc/sys/net/ipv4/conf/veth1/forwarding", "1"); in setup_netns()
115 err = write_sysctl("/proc/sys/net/ipv6/conf/veth1/forwarding", "1"); in setup_netns()
Dtcp_hdr_options.c316 if (write_sysctl("/proc/sys/net/ipv4/tcp_fastopen", "1543")) in fastopen_estab()
360 if (write_sysctl("/proc/sys/net/ipv4/tcp_syncookies", "2")) in syncookie_estab()
392 if (write_sysctl("/proc/sys/net/ipv4/tcp_syncookies", "1")) in fin()
431 if (write_sysctl("/proc/sys/net/ipv4/tcp_syncookies", "1")) in __simple_estab()
468 if (write_sysctl("/proc/sys/net/ipv4/tcp_syncookies", "1")) in misc()
Dconnect_ping.c123 if (write_sysctl("/proc/sys/net/ipv4/ping_group_range", "0 0")) in test_connect_ping()
/linux-6.6.21/tools/testing/selftests/net/
Dso_incoming_cpu.c56 static void write_sysctl(struct __test_metadata *_metadata, in write_sysctl() function
74 write_sysctl(_metadata, "/proc/sys/net/ipv4/ip_local_port_range", "10000 60001"); in setup_netns()
75 write_sysctl(_metadata, "/proc/sys/net/ipv4/tcp_tw_reuse", "0"); in setup_netns()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_progs.h410 int write_sysctl(const char *sysctl, const char *value);
Dtest_progs.c930 int write_sysctl(const char *sysctl, const char *value) in write_sysctl() function