Lines Matching refs:alertName
552 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName, in runIptablesAlertCmd() argument
566 alertName.c_str()); in runIptablesAlertCmd()
573 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlert() local
582 res = updateQuota(alertName, bytes); in setGlobalAlert()
584 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
595 const char *alertName = ALERT_GLOBAL_NAME; in removeGlobalAlert() local
603 res = runIptablesAlertCmd(IptOpDelete, alertName, mGlobalAlertBytes); in removeGlobalAlert()
674 std::string alertName = costName + "Alert"; in setCostlyAlert() local
677 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
681 StringPrintf(ALERT_IPT_TEMPLATE, "-A", chainName.c_str(), bytes, alertName.c_str()), in setCostlyAlert()
707 std::string alertName = costName + "Alert"; in removeCostlyAlert() local
711 StringPrintf(ALERT_IPT_TEMPLATE, "-D", chainName.c_str(), *alertBytes, alertName.c_str()), in removeCostlyAlert()