diff options
| author | Aditi Ghag <[email protected]> | 2023-05-19 22:51:56 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-05-20 05:44:28 +0000 |
| commit | 176ba657e6aaa61df637558a57acd8b7bf043cb4 (patch) | |
| tree | 6b6147052ad77a2bc24608683537172b742accf5 /tools/bpf/bpftool/prog.c | |
| parent | bpf: Add bpf_sock_destroy kfunc (diff) | |
| download | kernel-176ba657e6aaa61df637558a57acd8b7bf043cb4.tar.gz kernel-176ba657e6aaa61df637558a57acd8b7bf043cb4.zip | |
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: Stanislav Fomichev <[email protected]>
Signed-off-by: Aditi Ghag <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
