add fmt & bthr properties to nfacct
Subsystems (2)
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.
Signed-off-by Michael Zintakis <[email protected]>
--- 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
@@ -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