Home
last modified time | relevance | path

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

/system/netd/server/
DTrafficControllerTest.cpp80 mFakeCookieTagMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint64_t), sizeof(UidTagValue), in SetUp()
85 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), TEST_MAP_SIZE, 0)); in SetUp()
88 mFakeAppUidStatsMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(StatsValue), in SetUp()
92 mFakeStatsMapA.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(StatsKey), sizeof(StatsValue), in SetUp()
97 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), 1, 0)); in SetUp()
100 mFakeUidOwnerMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(UidOwnerValue), in SetUp()
104 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), TEST_MAP_SIZE, 0)); in SetUp()
/system/bpf/libbpf_android/include/bpf/
DBpfUtils.h66 inline int createMap(bpf_map_type map_type, uint32_t key_size, uint32_t value_size, in createMap() function
DBpfMap.h61 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);