Home
last modified time | relevance | path

Searched refs:createMap (Results 1 – 6 of 6) sorted by relevance

/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp83 mFakeCookieTagMap = BpfMap<uint64_t, UidTag>(createMap( in SetUp()
87 mFakeAppUidStatsMap = BpfMap<uint32_t, StatsValue>(createMap( in SetUp()
92 createMap(BPF_MAP_TYPE_HASH, sizeof(struct StatsKey), sizeof(struct StatsValue), in SetUp()
97 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(IfaceValue), TEST_MAP_SIZE, 0)); in SetUp()
100 mFakeIfaceStatsMap = BpfMap<uint32_t, StatsValue>(createMap( in SetUp()
/system/netd/server/
DTrafficControllerTest.cpp81 mFakeCookieTagMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint64_t), in SetUp()
86 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), TEST_MAP_SIZE, 0)); in SetUp()
89 mFakeAppUidStatsMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), in SetUp()
93 mFakeStatsMapA.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(struct StatsKey), in SetUp()
98 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), 1, 0)); in SetUp()
101 mFakeUidOwnerMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(UidOwnerValue), in SetUp()
105 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), TEST_MAP_SIZE, 0)); in SetUp()
/system/bpf/libbpf_android/include/bpf/
DBpfUtils.h148 int createMap(bpf_map_type map_type, uint32_t key_size, uint32_t value_size, uint32_t max_entries,
DBpfMap.h52 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);
/system/bpf/libbpf_android/
DBpfUtils.cpp78 int createMap(bpf_map_type map_type, uint32_t key_size, uint32_t value_size, uint32_t max_entries, in createMap() function
DBpfMapTest.cpp64 mMapFd = createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint32_t), TEST_MAP_SIZE, in SetUp()