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

/system/netd/
H A DBandwidthController.cpp496 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { argument
506 if (!maxBytes) {
517 if (maxBytes == -1) {
530 quotaCmd = makeIptablesQuotaCmd(IptOpInsert, costName, maxBytes);
536 sharedQuotaBytes = maxBytes;
542 if (maxBytes != sharedQuotaBytes) {
543 res |= updateQuota(costName, maxBytes);
548 sharedQuotaBytes = maxBytes;
602 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { argument
610 if (!maxBytes) {
[all...]

Completed in 35 milliseconds