From d156fd17ee7ff9a2822d7714e1c8dfe7b6b18f55 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 27 Nov 2016 23:24:21 +0100 Subject: src: add used quota support table ip x { chain y { type filter hook forward priority 0; policy accept; quota over 200 mbytes used 1143 kbytes drop } } This patch allows us to list and to restore used quota. Signed-off-by: Pablo Neira Ayuso --- include/statement.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/statement.h') diff --git a/include/statement.h b/include/statement.h index 277ff2f4..d317ae36 100644 --- a/include/statement.h +++ b/include/statement.h @@ -108,6 +108,7 @@ extern struct stmt *queue_stmt_alloc(const struct location *loc); struct quota_stmt { uint64_t bytes; + uint64_t used; uint32_t flags; }; -- cgit v1.2.3