Lines Matching refs:priority
261 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, in modifyIpRule() argument
314 { &priority, sizeof(priority) }, in modifyIpRule()
335 if (!(action == RTM_DELRULE && ret == -ENOENT && priority == RULE_PRIORITY_TETHERING)) { in modifyIpRule()
348 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() argument
351 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, in modifyIpRule()
355 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() argument
357 return modifyIpRule(action, priority, table, fwmark, mask, IIF_NONE, OIF_NONE, INVALID_UID, in modifyIpRule()
517 uint32_t priority; in modifyVpnUidRangeRule() local
520 priority = RULE_PRIORITY_SECURE_VPN; in modifyVpnUidRangeRule()
522 priority = RULE_PRIORITY_BYPASSABLE_VPN; in modifyVpnUidRangeRule()
528 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue, in modifyVpnUidRangeRule()
548 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN; in modifyVpnSystemPermissionRule() local
550 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue, in modifyVpnSystemPermissionRule()