Skip to contentSkip to conversation

add fmt & bthr properties to nfacct

PATCH New Michael Zintakis 1 participant 1 message Apr 14, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 add fmt & bthr properties to nfacct

* fmt and bthr (format and bytes threshold) properties have been added to the nfacct object.

* ability to change all nfacct object properties (with the exception of name) has been added.

---
 include/uapi/linux/netfilter/nfnetlink_acct.h |    2 +
 net/netfilter/nfnetlink_acct.c                |   49 +++++++++++++++++++++++--
 2 files changed, 48 insertions(+), 3 deletions(-)
include/uapi/linux/netfilter/nfnetlink_acct.h +2 -0
index c7b6269..f07e825 100644
@@ -18,6 +18,8 @@ enum nfnl_acct_type {
 	NFACCT_NAME,
 	NFACCT_PKTS,
 	NFACCT_BYTES,
+	NFACCT_BTHR,
+	NFACCT_FMT,
 	NFACCT_USE,
 	__NFACCT_MAX
 };
net/netfilter/nfnetlink_acct.c +46 -3

79 lines not on this page · raw message