Searched refs:alertName (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 739 int BandwidthController::runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertCmd() argument 745 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_INPUT", bytes, alertName); in runIptablesAlertCmd() 746 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_OUTPUT", bytes, alertName); in runIptablesAlertCmd() 752 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertFwdCmd() argument 755 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_FORWARD", bytes, alertName); in runIptablesAlertFwdCmd() 762 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlert() local 770 res = updateQuota(alertName, bytes); in setGlobalAlert() 772 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert() 775 res |= runIptablesAlertFwdCmd(IptOpInsert, alertName, bytes); in setGlobalAlert() 783 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlertInForwardChain() local [all …]
|
D | BandwidthController.h | 150 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes); 151 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes); 165 int updateQuota(const char *alertName, int64_t bytes);
|
D | NetlinkHandler.cpp | 123 const char *alertName = evt->findParam("ALERT_NAME"); in onEvent() local 125 notifyQuotaLimitReached(alertName, iface); in onEvent()
|