Searched refs:ifn (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 389 int BandwidthController::prepCostlyIface(const char *ifn, QuotaType quotaType) { in prepCostlyIface() argument 400 costString += ifn; in prepCostlyIface() 426 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); in prepCostlyIface() 429 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() 432 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); in prepCostlyIface() 435 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() 438 snprintf(cmd, sizeof(cmd), "-D bw_FORWARD -o %s --jump %s", ifn, costCString); in prepCostlyIface() 440 snprintf(cmd, sizeof(cmd), "-A bw_FORWARD -o %s --jump %s", ifn, costCString); in prepCostlyIface() 446 int BandwidthController::cleanupCostlyIface(const char *ifn, QuotaType quotaType) { in cleanupCostlyIface() argument 455 costString += ifn; in cleanupCostlyIface() [all …]
|
D | BandwidthController.h | 119 QuotaInfo(std::string ifn, int64_t q, int64_t a) in QuotaInfo() argument 120 : ifaceName(ifn), quota(q), alert(a) {}; in QuotaInfo() 144 int prepCostlyIface(const char *ifn, QuotaType quotaType); 145 int cleanupCostlyIface(const char *ifn, QuotaType quotaType);
|