diff options
author | 2024-04-18 16:09:10 +0800 | |
---|---|---|
committer | 2024-04-19 17:13:28 -0700 | |
commit | db9994d022ecd42006354609f6e4e3f57e5a4b03 (patch) | |
tree | 9211f503d5d85c9add809589018f514f7e71b6f4 /include/linux/bpf.h | |
parent | selftests/bpf: Use start_server_addr in sk_assign (diff) | |
download | wireguard-linux-db9994d022ecd42006354609f6e4e3f57e5a4b03.tar.xz wireguard-linux-db9994d022ecd42006354609f6e4e3f57e5a4b03.zip |
selftests/bpf: Update arguments of connect_to_addr
Move the third argument "int type" of connect_to_addr() to the first one
which is closer to how the socket syscall is doing it. And add a
network_helper_opts argument as the fourth one. Then change its usages in
sock_addr.c too.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/088ea8a95055f93409c5f57d12f0e58d43059ac4.1713427236.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions