platform_system_bpf/libbpf_android
Chenbo Feng 79b7e61d49 Add detailed kernel version when checking bpf support
For devices with 4.14 kernel shipping with bpf feature, they support more
functionality compared to 4.9 kernels. So when checking if the device
supports a given bpf feature, return a bpf level dependent on the detailed
kernel version instead of a simple boolean. This information would be
useful when we support new features such as map_in_map and cgroup socket
filters.

Bug: 111441138
Test: libnetdbpf_test, netd_integration_test
Change-Id: Ib51a56a35643ad76b58987ba1938c69905d28141
2019-02-14 13:39:05 -08:00
..
include Add detailed kernel version when checking bpf support 2019-02-14 13:39:05 -08:00
Android.bp Add tests for BPF loader 2019-02-04 15:28:52 -05:00
BpfLoadTest.cpp Add tests for BPF loader 2019-02-04 15:28:52 -05:00
BpfMapTest.cpp Code style clean up 2018-11-28 11:31:36 -08:00
BpfUtils.cpp Add detailed kernel version when checking bpf support 2019-02-14 13:39:05 -08:00
Loader.cpp Fix compiler warnings. 2019-02-01 15:48:19 -08:00
LoaderUtils.h Fix compiler warnings. 2019-02-01 15:48:19 -08:00