Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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()
H A 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()
H A Dconnect_ping.c123 if (write_sysctl("/proc/sys/net/ipv4/ping_group_range", "0 0")) in test_connect_ping()
/openbmc/linux/tools/testing/selftests/net/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h410 int write_sysctl(const char *sysctl, const char *value);
H A Dtest_progs.c944 int write_sysctl(const char *sysctl, const char *value) in write_sysctl() function