Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp480 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { in setInterfaceSharedQuota() argument
489 if (!maxBytes) { in setInterfaceSharedQuota()
502 if (maxBytes == -1) { in setInterfaceSharedQuota()
515 quotaCmd = makeIptablesQuotaCmd(IptFullOpInsert, costName, maxBytes); in setInterfaceSharedQuota()
521 sharedQuotaBytes = maxBytes; in setInterfaceSharedQuota()
527 if (maxBytes != sharedQuotaBytes) { in setInterfaceSharedQuota()
528 res |= updateQuota(costName, maxBytes); in setInterfaceSharedQuota()
533 sharedQuotaBytes = maxBytes; in setInterfaceSharedQuota()
589 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { in setInterfaceQuota() argument
600 if (!maxBytes) { in setInterfaceQuota()
[all …]