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

/system/netd/
H A DBandwidthController.h92 QuotaInfo(std::string ifn, int64_t q, int64_t a) argument
93 : ifaceName(ifn), quota(q), alert(a) {};
112 int prepCostlyIface(const char *ifn, QuotaType quotaType);
113 int cleanupCostlyIface(const char *ifn, QuotaType quotaType);
H A DBandwidthController.cpp407 int BandwidthController::prepCostlyIface(const char *ifn, QuotaType quotaType) { argument
418 costString += ifn;
447 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString);
450 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString);
453 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString);
456 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString);
461 int BandwidthController::cleanupCostlyIface(const char *ifn, QuotaType quotaType) { argument
470 costString += ifn;
481 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString);
483 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCStrin
498 char ifn[MAX_IFACENAME_LEN]; local
565 char ifn[MAX_IFACENAME_LEN]; local
603 char ifn[MAX_IFACENAME_LEN]; local
694 char ifn[MAX_IFACENAME_LEN]; local
[all...]

Completed in 53 milliseconds