Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp60 #define ALERT_IPT_TEMPLATE "%s %s -m quota2 ! --quota %" PRId64" --name %s\n" macro
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()
755 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_FORWARD", bytes, alertName); in runIptablesAlertFwdCmd()
926 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-A", chainName, bytes, alertName); in setCostlyAlert()
954 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-D", chainName, *alertBytes, alertName); in removeCostlyAlert()