Searched refs:write_sysctl (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
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()
|
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()
|
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()
|
D | connect_ping.c | 123 if (write_sysctl("/proc/sys/net/ipv4/ping_group_range", "0 0")) in test_connect_ping()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | test_progs.h | 410 int write_sysctl(const char *sysctl, const char *value);
|
D | test_progs.c | 930 int write_sysctl(const char *sysctl, const char *value) in write_sysctl() function
|