These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / include / linux / netfilter / nfnetlink_acct.h
1 #ifndef _NFNL_ACCT_H_
2 #define _NFNL_ACCT_H_
3
4 #include <uapi/linux/netfilter/nfnetlink_acct.h>
5 #include <net/net_namespace.h>
6
7 enum {
8         NFACCT_NO_QUOTA         = -1,
9         NFACCT_UNDERQUOTA,
10         NFACCT_OVERQUOTA,
11 };
12
13 struct nf_acct;
14
15 struct nf_acct *nfnl_acct_find_get(struct net *net, const char *filter_name);
16 void nfnl_acct_put(struct nf_acct *acct);
17 void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct);
18 extern int nfnl_acct_overquota(const struct sk_buff *skb,
19                               struct nf_acct *nfacct);
20 #endif /* _NFNL_ACCT_H */