Lines Matching refs:uidStart

248                                       const char* iif, const char* oif, uid_t uidStart,  in modifyIpRule()  argument
269 if ((uidStart == INVALID_UID) != (uidEnd == INVALID_UID)) { in modifyIpRule()
270 ALOGE("incompatible start and end UIDs (%u vs %u)", uidStart, uidEnd); in modifyIpRule()
274 bool isUidRule = (uidStart != INVALID_UID); in modifyIpRule()
293 struct fib_rule_uid_range uidRange = { uidStart, uidEnd }; in modifyIpRule()
335 const char* oif, uid_t uidStart, uid_t uidEnd) { in modifyIpRule() argument
336 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, in modifyIpRule()
494 [[nodiscard]] static int modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, in modifyVpnUidRangeRule() argument
514 fwmark.intValue, mask.intValue, IIF_LOOPBACK, OIF_NONE, uidStart, uidEnd); in modifyVpnUidRangeRule()
547 Permission permission, uid_t uidStart, in modifyExplicitNetworkRule() argument
563 mask.intValue, IIF_LOOPBACK, OIF_NONE, uidStart, uidEnd); in modifyExplicitNetworkRule()
571 Permission permission, uid_t uidStart, in modifyOutputInterfaceRules() argument
582 if (uidStart == INVALID_UID && uidEnd == INVALID_UID) { in modifyOutputInterfaceRules()
592 mask.intValue, IIF_LOOPBACK, interface, uidStart, uidEnd); in modifyOutputInterfaceRules()
743 [[nodiscard]] static int modifyUidNetworkRule(unsigned netId, uint32_t table, uid_t uidStart, in modifyUidNetworkRule() argument
746 if ((uidStart == INVALID_UID) || (uidEnd == INVALID_UID)) { in modifyUidNetworkRule()
747 ALOGE("modifyUidNetworkRule, invalid UIDs (%u, %u)", uidStart, uidEnd); in modifyUidNetworkRule()
767 table, fwmark.intValue, mask.intValue, IIF_LOOPBACK, OIF_NONE, uidStart, in modifyUidNetworkRule()
771 [[nodiscard]] static int modifyUidDefaultNetworkRule(uint32_t table, uid_t uidStart, uid_t uidEnd, in modifyUidDefaultNetworkRule() argument
773 if ((uidStart == INVALID_UID) || (uidEnd == INVALID_UID)) { in modifyUidDefaultNetworkRule()
774 ALOGE("modifyUidDefaultNetworkRule, invalid UIDs (%u, %u)", uidStart, uidEnd); in modifyUidDefaultNetworkRule()
790 mask.intValue, IIF_LOOPBACK, OIF_NONE, uidStart, uidEnd); in modifyUidDefaultNetworkRule()
862 [[nodiscard]] static int modifyUidUnreachableRule(unsigned netId, uid_t uidStart, uid_t uidEnd, in modifyUidUnreachableRule() argument
865 if ((uidStart == INVALID_UID) || (uidEnd == INVALID_UID)) { in modifyUidUnreachableRule()
866 ALOGE("modifyUidUnreachableRule, invalid UIDs (%u, %u)", uidStart, uidEnd); in modifyUidUnreachableRule()
887 IIF_LOOPBACK, OIF_NONE, uidStart, uidEnd); in modifyUidUnreachableRule()
890 [[nodiscard]] static int modifyUidDefaultUnreachableRule(uid_t uidStart, uid_t uidEnd, in modifyUidDefaultUnreachableRule() argument
892 if ((uidStart == INVALID_UID) || (uidEnd == INVALID_UID)) { in modifyUidDefaultUnreachableRule()
893 ALOGE("modifyUidDefaultUnreachableRule, invalid UIDs (%u, %u)", uidStart, uidEnd); in modifyUidDefaultUnreachableRule()
910 uidStart, uidEnd); in modifyUidDefaultUnreachableRule()