Searched refs:write_sysctl (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_skc_cls_ingress.c | 50 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 D | fib_lookup.c | 84 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 D | tcp_hdr_options.c | 316 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 D | connect_ping.c | 123 if (write_sysctl("/proc/sys/net/ipv4/ping_group_range", "0 0")) in test_connect_ping()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | so_incoming_cpu.c | 56 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 D | test_progs.h | 410 int write_sysctl(const char *sysctl, const char *value);
|
H A D | test_progs.c | 944 int write_sysctl(const char *sysctl, const char *value) in write_sysctl() function
|