• Home
  • Raw
  • Download

Lines Matching refs:modifyIpRule

246 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType,  in modifyIpRule()  function
333 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() function
336 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, in modifyIpRule()
340 [[nodiscard]] static int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() function
342 return modifyIpRule(action, priority, table, fwmark, mask, IIF_NONE, OIF_NONE, INVALID_UID, in modifyIpRule()
484 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OUTPUT_TO_LOCAL, in modifyVpnOutputToLocalRule()
513 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority + subPriority, table, in modifyVpnUidRangeRule()
535 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue, in modifyVpnSystemPermissionRule()
561 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, in modifyExplicitNetworkRule()
583 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules()
590 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, in modifyOutputInterfaceRules()
613 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_IMPLICIT_NETWORK, table, in modifyImplicitNetworkRule()
639 return modifyIpRule(action, RULE_PRIORITY_VPN_FALLTHROUGH, table, fwmark.intValue, in modifyVpnFallthroughRule()
652 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules()
656 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules()
665 return modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_VPN_OVERRIDE_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules()
683 return modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LOCAL_NETWORK, ROUTE_TABLE_LOCAL_NETWORK, in addLocalNetworkRules()
729 return modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_UNREACHABLE, FR_ACT_UNREACHABLE, RT_TABLE_UNSPEC, in addUnreachableRule()
764 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, in modifyUidNetworkRule()
788 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, in modifyUidDefaultNetworkRule()
883 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, in modifyUidUnreachableRule()
907 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, in modifyUidDefaultUnreachableRule()
942 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_PROHIBIT_NON_VPN, in modifyRejectNonSecureNetworkRule()
1010 return modifyIpRule(action, RULE_PRIORITY_DEFAULT_NETWORK, table, fwmark.intValue, in modifyDefaultNetwork()
1021 return modifyIpRule(action, RULE_PRIORITY_TETHERING, table, MARK_UNSET, MARK_UNSET, in modifyTetheredNetwork()
1095 ret = modifyIpRule(RTM_DELRULE, RULE_PRIORITY_TETHERING, 0, MARK_UNSET, MARK_UNSET, in clearTetheringRules()