Searched refs:ifn (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 507 int BandwidthController::prepCostlyIface(const char *ifn, QuotaType quotaType) { in prepCostlyIface() argument 518 costString += ifn; in prepCostlyIface() 547 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); in prepCostlyIface() 550 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() 553 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); in prepCostlyIface() 556 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() 561 int BandwidthController::cleanupCostlyIface(const char *ifn, QuotaType quotaType) { in cleanupCostlyIface() argument 570 costString += ifn; in cleanupCostlyIface() 581 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); in cleanupCostlyIface() 583 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); in cleanupCostlyIface() [all …]
|
D | BandwidthController.h | 104 QuotaInfo(std::string ifn, int64_t q, int64_t a) in QuotaInfo() argument 105 : ifaceName(ifn), quota(q), alert(a) {}; in QuotaInfo() 130 int prepCostlyIface(const char *ifn, QuotaType quotaType); 131 int cleanupCostlyIface(const char *ifn, QuotaType quotaType);
|