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

/system/netd/server/
H A DBandwidthController.cpp563 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { argument
572 if (!maxBytes) {
585 if (maxBytes == -1) {
598 quotaCmd = makeIptablesQuotaCmd(IptOpInsert, costName, maxBytes);
604 sharedQuotaBytes = maxBytes;
610 if (maxBytes != sharedQuotaBytes) {
611 res |= updateQuota(costName, maxBytes);
616 sharedQuotaBytes = maxBytes;
672 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { argument
683 if (!maxBytes) {
[all...]

Completed in 26 milliseconds