Lines Matching defs:priority
265 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType,
316 { &priority, sizeof(priority) },
346 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table,
349 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart,
353 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table,
355 return modifyIpRule(action, priority, table, fwmark, mask, IIF_NONE, OIF_NONE, INVALID_UID,
498 uint32_t priority;
501 priority = RULE_PRIORITY_SECURE_VPN;
503 priority = RULE_PRIORITY_BYPASSABLE_VPN;
509 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue,
529 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN;
531 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue,
574 // If this rule does not specify a UID range, then also add a corresponding high-priority rule
719 // rule, but with a lower priority. We will never create routes in the main table; it should only be
735 // relying on the kernel-default "from all lookup main" rule at priority 32766 is not intended