Home
last modified time | relevance | path

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

/system/netd/server/
DTrafficController.cpp579 auto oldMatch = map.readValue(uid); in removeRule() local
580 if (isOk(oldMatch)) { in removeRule()
581 UidOwnerValue newMatch = {.rule = static_cast<uint8_t>(oldMatch.value().rule & ~match), in removeRule()
582 .iif = (match == IIF_MATCH) ? 0 : oldMatch.value().iif}; in removeRule()
602 auto oldMatch = map.readValue(uid); in addRule() local
603 if (isOk(oldMatch)) { in addRule()
604 UidOwnerValue newMatch = {.rule = static_cast<uint8_t>(oldMatch.value().rule | match), in addRule()
605 .iif = iif ? iif : oldMatch.value().iif}; in addRule()