Searched defs:quota (Results 1 - 2 of 2) sorted by relevance

/system/netd/
H A DBandwidthController.h84 : ifaceName(ifn), quota(q), alert(a) {};
86 int64_t quota; member in class:BandwidthController::QuotaInfo
103 std::string makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota);
H A DBandwidthController.cpp51 const char BandwidthController::ALERT_IPT_TEMPLATE[] = "%s %s %s -m quota2 ! --quota %lld --name %s";
68 * - quota'd rules in the costly chain should be before penalty_box lookups.
70 * * global quota vs per interface quota
71 * - global quota for all costly interfaces uses a single costly chain:
76 * iptables -I costly_shared -m quota \! --quota 500000 \
85 * - quota per interface. This is achieve by having "costly" chains per quota.
86 * E.g. adding a new costly interface iface0 with its own quota
336 makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota) argument
[all...]

Completed in 82 milliseconds