Home
last modified time | relevance | path

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

/system/netd/libnetdbpf/include/netdbpf/
Dbpf_shared.h155 } UidOwnerValue; typedef
156 STRUCT_SIZE(UidOwnerValue, 2 * 4); // 8
/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()
333 UidOwnerValue* allowlistMatch = bpf_uid_owner_map_lookup_elem(&sock_uid);
341 UidOwnerValue* denylistMatch = bpf_uid_owner_map_lookup_elem(&sock_uid);
/system/netd/server/
DTrafficControllerTest.cpp73 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()
571 Result<UidOwnerValue> value = mFakeUidOwnerMap.readValue(uid); in TEST_F()
DTrafficController.cpp514 UidOwnerValue newMatch = { in removeRule()
538 UidOwnerValue newMatch = { in addRule()
544 UidOwnerValue newMatch = { in addRule()
604 const BpfMap<uint32_t, UidOwnerValue>&) { in replaceRulesInMap() argument
1001 const auto printUidMatchInfo = [&dw, this](const uint32_t& key, const UidOwnerValue& value, in dump()
1002 const BpfMap<uint32_t, UidOwnerValue>&) { in dump() argument
DTrafficController.h191 BpfMap<uint32_t, UidOwnerValue> mUidOwnerMap GUARDED_BY(mMutex);