Lines Matching refs:alertName
583 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName, in runIptablesAlertCmd() argument
597 alertName.c_str()); in runIptablesAlertCmd()
604 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlert() local
613 res = updateQuota(alertName, bytes); in setGlobalAlert()
615 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
626 const char *alertName = ALERT_GLOBAL_NAME; in removeGlobalAlert() local
634 res = runIptablesAlertCmd(IptOpDelete, alertName, mGlobalAlertBytes); in removeGlobalAlert()
705 std::string alertName = costName + "Alert"; in setCostlyAlert() local
708 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
712 StringPrintf(ALERT_IPT_TEMPLATE, "-A", chainName.c_str(), bytes, alertName.c_str()), in setCostlyAlert()
738 std::string alertName = costName + "Alert"; in removeCostlyAlert() local
742 StringPrintf(ALERT_IPT_TEMPLATE, "-D", chainName.c_str(), *alertBytes, alertName.c_str()), in removeCostlyAlert()