Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c16827bf authored by Chenbo Feng's avatar Chenbo Feng
Browse files

Remove bpf map iterator class

The bpf map iterator class implementation is not very helpful since the
map iterate process may fail because of the bpf syscall. So using a
iterator to go through the map is not very robust if it cannot through
exceptions when it failed. Instead, the map class will have some iterate
function that go through the map and apply operations based on the
lambda function passed in. And it can return failure when the
actual bpf syscall failed.

Bug: 78250686
Test: ./libbpf_test

Change-Id: Ie431ebd6e46c228347c3852fb5b3556534088439
parent 6e43d2c3
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