Searched refs:opFlag (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 365 const char *opFlag; in makeIptablesQuotaCmd() local 371 opFlag = "-I"; in makeIptablesQuotaCmd() 374 opFlag = "-A"; in makeIptablesQuotaCmd() 377 opFlag = "-D"; in makeIptablesQuotaCmd() 382 …asprintf(&buff, "%s bw_costly_%s -m quota2 ! --quota %" PRId64" --name %s", opFlag, costName, quot… in makeIptablesQuotaCmd() 740 const char *opFlag = opToString(op); in runIptablesAlertCmd() local 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() 753 const char *opFlag = opToString(op); in runIptablesAlertFwdCmd() local 755 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_FORWARD", bytes, alertName); in runIptablesAlertFwdCmd()
|