Home
last modified time | relevance | path

Searched refs:maxBytes (Results 1 – 1 of 1) sorted by relevance

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