Searched defs:bpf (Results 1 - 9 of 9) sorted by relevance
/system/netd/tests/ |
H A D | bpf_base_test.cpp | 36 #include "bpf/BpfMap.h" 37 #include "bpf/BpfUtils.h" 39 using namespace android::bpf; 46 namespace bpf { namespace in namespace:android
|
/system/netd/libbpf/ |
H A D | BpfMapTest.cpp | 37 #include "bpf/BpfMap.h" 38 #include "bpf/BpfNetworkStats.h" 39 #include "bpf/BpfUtils.h" 49 namespace bpf { namespace in namespace:android 57 constexpr const char PINNED_MAP_PATH[] = "/sys/fs/bpf/testMap"; 289 } // namespace bpf
|
H A D | BpfNetworkStats.cpp | 28 #include "bpf/BpfMap.h" 29 #include "bpf/BpfNetworkStats.h" 38 namespace bpf { namespace in namespace:android 255 } // namespace bpf
|
H A D | BpfUtils.cpp | 17 #include <linux/bpf.h> 34 #include "bpf/BpfUtils.h" 47 namespace bpf { namespace in namespace:android 51 * is. The bpf kernel code will performs a much stricter check to ensure all unused field is 0. So 68 int bpf(int cmd, Slice bpfAttr) { function in namespace:android::bpf 82 return bpf(BPF_MAP_CREATE, Slice(&attr, sizeof(attr))); 93 return bpf(BPF_MAP_UPDATE_ELEM, Slice(&attr, sizeof(attr))); 103 return bpf(BPF_MAP_LOOKUP_ELEM, Slice(&attr, sizeof(attr))); 112 return bpf(BPF_MAP_DELETE_ELEM, Slice(&attr, sizeof(attr))); 122 return bpf(BPF_MAP_GET_NEXT_KE [all...] |
H A D | BpfNetworkStatsTest.cpp | 37 #include "bpf/BpfMap.h" 38 #include "bpf/BpfNetworkStats.h" 39 #include "bpf/BpfUtils.h" 41 using namespace android::bpf; 51 namespace bpf { namespace in namespace:android 155 // TEST to verify the behavior of bpf map when cocurrent deletion happens when 443 } // namespace bpf
|
/system/netd/libbpf/include/bpf/ |
H A D | BpfNetworkStats.h | 17 #include <bpf/BpfMap.h> 20 namespace bpf { namespace in namespace:android 111 } // namespace bpf
|
H A D | BpfMap.h | 20 #include <linux/bpf.h> 25 #include "bpf/BpfUtils.h" 30 namespace bpf { namespace in namespace:android 324 } // namespace bpf
|
H A D | BpfUtils.h | 20 #include <linux/bpf.h> 37 namespace bpf { namespace in namespace:android 75 #define BPF_PATH "/sys/fs/bpf" 160 } // namespace bpf
|
/system/netd/bpfloader/ |
H A D | BpfLoader.cpp | 26 #include <linux/bpf.h> 47 #include "bpf/BpfUtils.h" 48 #include "bpf/bpf_shared.h" 54 #define BPF_PROG_PATH "/system/etc/bpf" 75 // for bpf map fd loading. The original 0x01 is only a normal load command. 85 unique_fd _mapFd(android::bpf::mapRetrieve((_mapPath), 0)); \ 94 namespace bpf { namespace in namespace:android 149 if (elfHeader.size() < sizeof(Elf64_Ehdr)) FAIL("bpf buffer does not have complete elf header"); 264 } // namespace bpf 267 using android::bpf [all...] |
Completed in 5164 milliseconds