Home
last modified time | relevance | path

Searched refs:isAtLeastKernelVersion (Results 1 – 3 of 3) sorted by relevance

/system/bpf/libbpf_android/include/bpf/
DBpfUtils.h44 static inline bool isAtLeastKernelVersion(unsigned major, unsigned minor, unsigned sub) { in isAtLeastKernelVersion() function
50 if (android::bpf::isAtLeastKernelVersion(4, 9, 0)) { \
58 if (!android::bpf::isAtLeastKernelVersion(4, 9, 0)) { \
66 if (!android::bpf::isAtLeastKernelVersion(4, 14, 0)) { \
75 if (!android::bpf::isAtLeastKernelVersion(5, 9, 0)) { \
/system/netd/server/
DOffloadUtilsTest.cpp165 const int errNOENT = android::bpf::isAtLeastKernelVersion(4, 19, 0) ? ENOENT : EINVAL; in checkAttachDetachBpfFilterClsactLo()
/system/bpf/libbpf_android/
DLoader.cpp551 if (type == BPF_MAP_TYPE_DEVMAP && !isAtLeastKernelVersion(4, 14, 0)) { in createMaps()
561 if (type == BPF_MAP_TYPE_DEVMAP_HASH && !isAtLeastKernelVersion(5, 4, 0)) { in createMaps()