diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-05-25 20:08:16 +0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-05-28 17:53:03 -0700 |
commit | 6f802cb8988e8e41f2fdb74ac949d3a0ef9a9594 (patch) | |
tree | 003ebcbbecfd31789e2caa15e182e3fc81a28b6c /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
parent | ed31adf6874db172e3212ac1ebaf701ed6190650 (diff) |
selftests/bpf: Add start_server_str helper
It's a tech debt that start_server() does not take the "opts" argument.
It's pretty handy to have start_server() as a helper that takes string
address.
So this patch creates a new helper start_server_str(). Then start_server()
can be a wrapper of it.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/606e6cfd7e1aff8bc51ede49862eed0802e52170.1716638248.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions