Lines Matching refs:BandwidthController

60 const char BandwidthController::LOCAL_INPUT[] = "bw_INPUT";
61 const char BandwidthController::LOCAL_FORWARD[] = "bw_FORWARD";
62 const char BandwidthController::LOCAL_OUTPUT[] = "bw_OUTPUT";
63 const char BandwidthController::LOCAL_RAW_PREROUTING[] = "bw_raw_PREROUTING";
64 const char BandwidthController::LOCAL_MANGLE_POSTROUTING[] = "bw_mangle_POSTROUTING";
65 const char BandwidthController::LOCAL_GLOBAL_ALERT[] = "bw_global_alert";
67 auto BandwidthController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
260 BandwidthController::BandwidthController() { in BandwidthController() function in BandwidthController
263 void BandwidthController::flushCleanTables(bool doClean) { in flushCleanTables()
271 int BandwidthController::setupIptablesHooks() { in setupIptablesHooks()
277 int BandwidthController::enableBandwidthControl() { in enableBandwidthControl()
290 std::string BandwidthController::makeDataSaverCommand(IptablesTarget target, bool enable) { in makeDataSaverCommand()
305 int BandwidthController::enableDataSaver(bool enable) { in enableDataSaver()
311 int BandwidthController::setInterfaceSharedQuota(const std::string& iface, int64_t maxBytes) { in setInterfaceSharedQuota()
369 int BandwidthController::removeInterfaceSharedQuota(const std::string& iface) { in removeInterfaceSharedQuota()
411 int BandwidthController::setInterfaceQuota(const std::string& iface, int64_t maxBytes) { in setInterfaceQuota()
462 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { in getInterfaceSharedQuota()
466 int BandwidthController::getInterfaceQuota(const std::string& iface, int64_t* bytes) { in getInterfaceQuota()
486 int BandwidthController::removeInterfaceQuota(const std::string& iface) { in removeInterfaceQuota()
517 int BandwidthController::updateQuota(const std::string& quotaName, int64_t bytes) { in updateQuota()
537 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName, in runIptablesAlertCmd()
557 int BandwidthController::setGlobalAlert(int64_t bytes) { in setGlobalAlert()
578 int BandwidthController::removeGlobalAlert() { in removeGlobalAlert()
593 int BandwidthController::setInterfaceAlert(const std::string& iface, int64_t bytes) { in setInterfaceAlert()
613 int BandwidthController::removeInterfaceAlert(const std::string& iface) { in removeInterfaceAlert()
629 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert()
665 int BandwidthController::removeCostlyAlert(const std::string& costName, int64_t* alertBytes) { in removeCostlyAlert()
692 void BandwidthController::flushExistingCostlyTables(bool doClean) { in flushExistingCostlyTables()
705 void BandwidthController::parseAndFlushCostlyTables(const std::string& ruleList, bool doRemove) { in parseAndFlushCostlyTables()
736 inline const char *BandwidthController::opToString(IptOp op) { in opToString()
745 inline const char *BandwidthController::jumpToString(IptJumpOp jumpHandling) { in jumpToString()