Searched refs:UidOwnerValue (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | TrafficController.h | 197 BpfMap<uint32_t, UidOwnerValue> mUidOwnerMap GUARDED_BY(mMutex); 206 netdutils::Status removeRule(BpfMap<uint32_t, UidOwnerValue>& map, uint32_t uid, 209 netdutils::Status addRule(BpfMap<uint32_t, UidOwnerValue>& map, uint32_t uid,
|
D | TrafficController.cpp | 546 Status TrafficController::removeRule(BpfMap<uint32_t, UidOwnerValue>& map, uint32_t uid, in removeRule() 550 UidOwnerValue newMatch = { in removeRule() 565 Status TrafficController::addRule(BpfMap<uint32_t, UidOwnerValue>& map, uint32_t uid, in addRule() 575 UidOwnerValue newMatch = { in addRule() 581 UidOwnerValue newMatch = { in addRule() 654 const BpfMap<uint32_t, UidOwnerValue>&) { in replaceRulesInMap() argument 1075 const auto printUidMatchInfo = [&dw, this](const uint32_t& key, const UidOwnerValue& value, in dump() 1076 const BpfMap<uint32_t, UidOwnerValue>&) { in dump() argument
|
D | TrafficControllerTest.cpp | 72 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()
|
/system/netd/bpf_progs/ |
D | netd.c | 62 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* whitelistMatch = bpf_uid_owner_map_lookup_elem(&sock_uid); 338 UidOwnerValue* blacklistMatch = bpf_uid_owner_map_lookup_elem(&sock_uid);
|
/system/netd/libnetdbpf/include/netdbpf/ |
D | bpf_shared.h | 145 } UidOwnerValue; typedef
|