diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netfilter/nfnetlink_acct.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/netfilter/nfnetlink_acct.h b/include/linux/netfilter/nfnetlink_acct.h index b2e85e59f760..6ec975748742 100644 --- a/include/linux/netfilter/nfnetlink_acct.h +++ b/include/linux/netfilter/nfnetlink_acct.h | |||
| @@ -3,11 +3,17 @@ | |||
| 3 | 3 | ||
| 4 | #include <uapi/linux/netfilter/nfnetlink_acct.h> | 4 | #include <uapi/linux/netfilter/nfnetlink_acct.h> |
| 5 | 5 | ||
| 6 | enum { | ||
| 7 | NFACCT_NO_QUOTA = -1, | ||
| 8 | NFACCT_UNDERQUOTA, | ||
| 9 | NFACCT_OVERQUOTA, | ||
| 10 | }; | ||
| 6 | 11 | ||
| 7 | struct nf_acct; | 12 | struct nf_acct; |
| 8 | 13 | ||
| 9 | struct nf_acct *nfnl_acct_find_get(const char *filter_name); | 14 | struct nf_acct *nfnl_acct_find_get(const char *filter_name); |
| 10 | void nfnl_acct_put(struct nf_acct *acct); | 15 | void nfnl_acct_put(struct nf_acct *acct); |
| 11 | void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct); | 16 | void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct); |
| 12 | 17 | extern int nfnl_acct_overquota(const struct sk_buff *skb, | |
| 18 | struct nf_acct *nfacct); | ||
| 13 | #endif /* _NFNL_ACCT_H */ | 19 | #endif /* _NFNL_ACCT_H */ |
