Searched refs:ifn (Results 1 - 2 of 2) sorted by relevance
/system/netd/ |
H A D | BandwidthController.cpp | 504 int BandwidthController::prepCostlyIface(const char *ifn, QuotaType quotaType) { argument 515 costString += ifn; 544 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); 547 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString); 550 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); 553 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString); 558 int BandwidthController::cleanupCostlyIface(const char *ifn, QuotaType quotaType) { argument 567 costString += ifn; 578 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); 580 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCStrin 595 char ifn[MAX_IFACENAME_LEN]; local 662 char ifn[MAX_IFACENAME_LEN]; local 700 char ifn[MAX_IFACENAME_LEN]; local 791 char ifn[MAX_IFACENAME_LEN]; local [all...] |
H A D | BandwidthController.h | 103 QuotaInfo(std::string ifn, int64_t q, int64_t a) argument 104 : ifaceName(ifn), quota(q), alert(a) {}; 129 int prepCostlyIface(const char *ifn, QuotaType quotaType); 130 int cleanupCostlyIface(const char *ifn, QuotaType quotaType);
|
Completed in 30 milliseconds