Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp822 int BandwidthController::runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertCmd() argument
844 bytes, alertName); in runIptablesAlertCmd()
848 bytes, alertName); in runIptablesAlertCmd()
854 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertFwdCmd() argument
876 bytes, alertName); in runIptablesAlertFwdCmd()
883 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlert() local
891 res = updateQuota(alertName, bytes); in setGlobalAlert()
893 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
896 res |= runIptablesAlertFwdCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
904 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlertInForwardChain() local
[all …]
DBandwidthController.h139 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes);
140 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes);
154 int updateQuota(const char *alertName, int64_t bytes);
DNetlinkHandler.cpp120 const char *alertName = evt->findParam("ALERT_NAME"); in onEvent() local
122 notifyQuotaLimitReached(alertName, iface); in onEvent()