• Home
  • Raw
  • Download

Lines Matching refs:alertName

609 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName,  in runIptablesAlertCmd()  argument
617 alertName.c_str()); in runIptablesAlertCmd()
619 alertName.c_str()); in runIptablesAlertCmd()
625 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const std::string& alertName, in runIptablesAlertFwdCmd() argument
630 alertName.c_str()); in runIptablesAlertFwdCmd()
637 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlert() local
645 res = updateQuota(alertName, bytes); in setGlobalAlert()
647 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
650 res |= runIptablesAlertFwdCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
658 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlertInForwardChain() local
674 res = runIptablesAlertFwdCmd(IptOpInsert, alertName, mGlobalAlertBytes); in setGlobalAlertInForwardChain()
680 const char *alertName = ALERT_GLOBAL_NAME; in removeGlobalAlert() local
687 res = runIptablesAlertCmd(IptOpDelete, alertName, mGlobalAlertBytes); in removeGlobalAlert()
689 res |= runIptablesAlertFwdCmd(IptOpDelete, alertName, mGlobalAlertBytes); in removeGlobalAlert()
697 const char *alertName = ALERT_GLOBAL_NAME; in removeGlobalAlertInForwardChain() local
715 res = runIptablesAlertFwdCmd(IptOpDelete, alertName, mGlobalAlertBytes); in removeGlobalAlertInForwardChain()
785 std::string alertName = costName + "Alert"; in setCostlyAlert() local
788 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
792 StringPrintf(ALERT_IPT_TEMPLATE, "-A", chainName.c_str(), bytes, alertName.c_str()), in setCostlyAlert()
817 std::string alertName = costName + "Alert"; in removeCostlyAlert() local
821 StringPrintf(ALERT_IPT_TEMPLATE, "-D", chainName.c_str(), *alertBytes, alertName.c_str()), in removeCostlyAlert()