Home
last modified time | relevance | path

Searched refs:alertName (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DBandwidthController.cpp609 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
[all …]
DBandwidthController.h95 int runIptablesAlertCmd(IptOp op, const std::string& alertName, int64_t bytes);
96 int runIptablesAlertFwdCmd(IptOp op, const std::string& alertName, int64_t bytes);
98 int updateQuota(const std::string& alertName, int64_t bytes);
DNetlinkHandler.cpp157 const char *alertName = evt->findParam("ALERT_NAME"); in onEvent() local
159 notifyQuotaLimitReached(alertName, iface); in onEvent()