Home
last modified time | relevance | path

Searched refs:UidOwnerValue (Results 1 – 5 of 5) sorted by relevance

/system/netd/bpf_progs/
Dnetd.c62 DEFINE_BPF_MAP(uid_owner_map, HASH, uint32_t, UidOwnerValue, UID_OWNER_MAP_SIZE) in DEFINE_BPF_MAP_GRO()
192 UidOwnerValue* uidEntry = bpf_uid_owner_map_lookup_elem(&uid); in bpf_owner_match()
330 UidOwnerValue* allowlistMatch = bpf_uid_owner_map_lookup_elem(&sock_uid);
338 UidOwnerValue* denylistMatch = bpf_uid_owner_map_lookup_elem(&sock_uid);
/system/netd/libnetdbpf/include/netdbpf/
Dbpf_shared.h145 } UidOwnerValue; typedef
/system/netd/server/
DTrafficControllerTest.cpp72 BpfMap<uint32_t, UidOwnerValue> mFakeUidOwnerMap;
100 mFakeUidOwnerMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(UidOwnerValue), in SetUp()
169 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in checkUidOwnerRuleForChain()
199 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in checkEachUidValue()
205 const BpfMap<uint32_t, UidOwnerValue>&) { in checkEachUidValue() argument
226 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in expectUidOwnerMapValues()
609 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in TEST_F()
DTrafficController.cpp549 UidOwnerValue newMatch = { in removeRule()
573 UidOwnerValue newMatch = { in addRule()
579 UidOwnerValue newMatch = { in addRule()
652 const BpfMap<uint32_t, UidOwnerValue>&) { in replaceRulesInMap() argument
1073 const auto printUidMatchInfo = [&dw, this](const uint32_t& key, const UidOwnerValue& value, in dump()
1074 const BpfMap<uint32_t, UidOwnerValue>&) { in dump() argument
DTrafficController.h197 BpfMap<uint32_t, UidOwnerValue> mUidOwnerMap GUARDED_BY(mMutex);