Lines Matching refs:alertQuotaCmd
825 char *alertQuotaCmd; in runIptablesAlertCmd() local
843 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_INPUT", in runIptablesAlertCmd()
845 res |= runIpxtablesCmd(alertQuotaCmd, IptJumpNoAdd); in runIptablesAlertCmd()
846 free(alertQuotaCmd); in runIptablesAlertCmd()
847 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_OUTPUT", in runIptablesAlertCmd()
849 res |= runIpxtablesCmd(alertQuotaCmd, IptJumpNoAdd); in runIptablesAlertCmd()
850 free(alertQuotaCmd); in runIptablesAlertCmd()
857 char *alertQuotaCmd; in runIptablesAlertFwdCmd() local
875 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_FORWARD", in runIptablesAlertFwdCmd()
877 res = runIpxtablesCmd(alertQuotaCmd, IptJumpNoAdd); in runIptablesAlertFwdCmd()
878 free(alertQuotaCmd); in runIptablesAlertFwdCmd()
1028 char *alertQuotaCmd; in setCostlyAlert() local
1047 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-A", chainName, bytes, alertName); in setCostlyAlert()
1048 res |= runIpxtablesCmd(alertQuotaCmd, IptJumpNoAdd); in setCostlyAlert()
1049 free(alertQuotaCmd); in setCostlyAlert()
1058 char *alertQuotaCmd; in removeCostlyAlert() local
1075 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-D", chainName, *alertBytes, alertName); in removeCostlyAlert()
1076 res |= runIpxtablesCmd(alertQuotaCmd, IptJumpNoAdd); in removeCostlyAlert()
1077 free(alertQuotaCmd); in removeCostlyAlert()