Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp906 int BandwidthController::setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes) { in setCostlyAlert() argument
922 if (*alertBytes) { in setCostlyAlert()
923 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
931 *alertBytes = bytes; in setCostlyAlert()
936 int BandwidthController::removeCostlyAlert(const char *costName, int64_t *alertBytes) { in removeCostlyAlert() argument
947 if (!*alertBytes) { in removeCostlyAlert()
954 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-D", chainName, *alertBytes, alertName); in removeCostlyAlert()
959 *alertBytes = 0; in removeCostlyAlert()
DBandwidthController.h167 int setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes);
168 int removeCostlyAlert(const char *costName, int64_t *alertBytes);