diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-24 14:34:33 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-27 20:32:36 +0300 |
commit | 8ac2bd357775b3abf838110833279ea1a3b035e4 (patch) | |
tree | b60246d0d78216f92c1bb9f72fe8e5a54fdd6703 /include/net/netfilter/nf_conntrack_acct.h | |
parent | 73348fed35d023e998cbd303a28400f2c0ec30a3 (diff) | |
download | linux-8ac2bd357775b3abf838110833279ea1a3b035e4.tar.xz |
netfilter: conntrack: export nf_ct_acct_update()
This function allows you to update the conntrack counters.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_acct.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack_acct.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack_acct.h b/include/net/netfilter/nf_conntrack_acct.h index f7a060c6eb28..df198c51244a 100644 --- a/include/net/netfilter/nf_conntrack_acct.h +++ b/include/net/netfilter/nf_conntrack_acct.h @@ -65,6 +65,8 @@ static inline void nf_ct_set_acct(struct net *net, bool enable) #endif } +void nf_ct_acct_update(struct nf_conn *ct, u32 dir, unsigned int bytes); + void nf_conntrack_acct_pernet_init(struct net *net); int nf_conntrack_acct_init(void); |