diff options
| author | Chenbo Feng <fengc@google.com> | 2018-04-24 11:50:02 -0700 |
|---|---|---|
| committer | Chenbo Feng <fengc@google.com> | 2018-05-16 12:31:08 -0700 |
| commit | c3bfd3eeb7f9b3f42078f018603c161092c5d4e7 (patch) | |
| tree | 1f430335f518f30368d392b25656adb2cf3ef8d3 /server/InterfaceController.cpp | |
| parent | 6bd8ae800a03907224ddbac02dca340bd6032cd1 (diff) | |
Use bpf get first key to iterate the maps
With the newest kernel support from upstream. We can directly get the
first key of each map with a null pointer instead of using a nonexistent
key for each map. This patch replaced all related iteration process with
this new function and cleaned up all unecessary code.
Bug: 30950746
Test: ./libbpfTest ./netd_unit_test
Change-Id: Ie1fd617964d37d2a1c12b2f34457c1cc1d912571
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
