diff options
| author | Dmitrii Dolgov <9erthalion6@gmail.com> | 2022-05-10 17:52:30 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-05-10 11:20:45 -0700 |
| commit | 9f88361273082825d9f0d13a543d49f9fa0d44a8 (patch) | |
| tree | 485b123ad10201fdb1bf16af6402bd419f8b4af9 /tools/testing/selftests/bpf/prog_tests/bpf_iter.c | |
| parent | Merge branch 'Add source ip in bpf tunnel key' (diff) | |
| download | linux-9f88361273082825d9f0d13a543d49f9fa0d44a8.tar.gz linux-9f88361273082825d9f0d13a543d49f9fa0d44a8.zip | |
bpf: Add bpf_link iterator
Implement bpf_link iterator to traverse links via bpf_seq_file
operations. The changeset is mostly shamelessly copied from
commit a228a64fc1e4 ("bpf: Add bpf_prog iterator")
Signed-off-by: Dmitrii Dolgov <9erthalion6@gmail.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220510155233.9815-2-9erthalion6@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_iter.c')
0 files changed, 0 insertions, 0 deletions
