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

/system/netd/
H A DBandwidthController.h104 : ifaceName(ifn), quota(q), alert(a) {};
106 int64_t quota; member in class:BandwidthController::QuotaInfo
133 std::string makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota);
H A DBandwidthController.cpp51 #define ALERT_IPT_TEMPLATE "%s %s -m quota2 ! --quota %lld --name %s"
68 * - quota'd rules in the costly chain should be before bw_penalty_box lookups.
72 * * global quota vs per interface quota
73 * - global quota for all costly interfaces uses a single costly chain:
78 * iptables -I bw_costly_shared -m quota \! --quota 500000 \
88 * - quota per interface. This is achieve by having "costly" chains per quota.
89 * E.g. adding a new costly interface iface0 with its own quota
473 makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota) argument
[all...]

Completed in 134 milliseconds