Skip to content
Commit 176ba657 authored by Aditi Ghag's avatar Aditi Ghag Committed by Martin KaFai Lau
Browse files

selftests/bpf: Add helper to get port using getsockname



The helper will be used to programmatically retrieve
and pass ports in userspace and kernel selftest programs.

Suggested-by: default avatarStanislav Fomichev <sdf@google.com>
Signed-off-by: default avatarAditi Ghag <aditi.ghag@isovalent.com>
Link: https://lore.kernel.org/r/20230519225157.760788-9-aditi.ghag@isovalent.com


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 4ddbcb88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment