Lines Matching full:alertname
822 int BandwidthController::runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) {
844 bytes, alertName);
848 bytes, alertName);
854 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) {
876 bytes, alertName);
883 const char *alertName = ALERT_GLOBAL_NAME;
891 res = updateQuota(alertName, bytes);
893 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes);
896 res |= runIptablesAlertFwdCmd(IptOpInsert, alertName, bytes);
904 const char *alertName = ALERT_GLOBAL_NAME;
920 res = runIptablesAlertFwdCmd(IptOpInsert, alertName, globalAlertBytes);
926 const char *alertName = ALERT_GLOBAL_NAME;
933 res = runIptablesAlertCmd(IptOpDelete, alertName, globalAlertBytes);
935 res |= runIptablesAlertFwdCmd(IptOpDelete, alertName, globalAlertBytes);
943 const char *alertName = ALERT_GLOBAL_NAME;
961 res = runIptablesAlertFwdCmd(IptOpDelete, alertName, globalAlertBytes);
1031 char *alertName;
1042 asprintf(&alertName, "%sAlert", costName);
1044 res = updateQuota(alertName, *alertBytes);
1047 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-A", chainName, bytes, alertName);
1053 free(alertName);
1060 char *alertName;
1073 asprintf(&alertName, "%sAlert", costName);
1075 alertName);
1081 free(alertName);