path: root/include/buffer.h
diff options
authorPablo Neira Ayuso <>2016-11-27 23:26:56 +0100
committerPablo Neira Ayuso <>2016-12-09 14:50:53 +0100
commit5573d0146c1ae71ac5b3e4ba6a12c00585646a1a (patch)
treed6e4938b3a51d5973b7ac6c1a21f2705f5ad10c1 /include/buffer.h
parent85894febe35d223c0478dfac56dcd7366609f981 (diff)
src: support for stateful objects
This patch allows you to add, to delete and to get stateful objects, this support two object types: counter and quota. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/buffer.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/buffer.h b/include/buffer.h
index ab1d468..c571657 100644
--- a/include/buffer.h
+++ b/include/buffer.h
@@ -41,6 +41,7 @@ int nftnl_buf_reg(struct nftnl_buf *b, int type, union nftnl_data_reg *reg,
#define BURST "burst"
#define CHAIN "chain"
#define CODE "code"
+#define CONSUMED "consumed"
#define DATA "data"
#define DEVICE "device"
#define DIR "dir"