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

/system/netd/
H A DBandwidthController.cpp501 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { argument
511 if (!maxBytes) {
522 if (maxBytes == -1) {
535 quotaCmd = makeIptablesQuotaCmd(IptOpInsert, costName, maxBytes);
541 sharedQuotaBytes = maxBytes;
547 if (maxBytes != sharedQuotaBytes) {
548 res |= updateQuota(costName, maxBytes);
553 sharedQuotaBytes = maxBytes;
607 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { argument
615 if (!maxBytes) {
[all...]

Completed in 21 milliseconds