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

/system/netd/
H A DBandwidthController.cpp593 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { argument
603 if (!maxBytes) {
614 if (maxBytes == -1) {
627 quotaCmd = makeIptablesQuotaCmd(IptOpInsert, costName, maxBytes);
633 sharedQuotaBytes = maxBytes;
639 if (maxBytes != sharedQuotaBytes) {
640 res |= updateQuota(costName, maxBytes);
645 sharedQuotaBytes = maxBytes;
699 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { argument
707 if (!maxBytes) {
[all...]

Completed in 36 milliseconds