summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nfnetlink_acct.h
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-05-16 15:00:45 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-05-29 00:52:48 +0200
commit86d5283161d3b2908229868318d3d2135c46379b (patch)
tree3dfa972ef3ba157ff09743656742b28cc7ea43a1 /include/linux/netfilter/nfnetlink_acct.h
parent4437682babe86de7435d4fc839437f99e998b79c (diff)
include: Sync with kernel headers
Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter/nfnetlink_acct.h')
-rw-r--r--include/linux/netfilter/nfnetlink_acct.h19
1 files changed, 5 insertions, 14 deletions
diff --git a/include/linux/netfilter/nfnetlink_acct.h b/include/linux/netfilter/nfnetlink_acct.h
index 6c99213..98b6286 100644
--- a/include/linux/netfilter/nfnetlink_acct.h
+++ b/include/linux/netfilter/nfnetlink_acct.h
@@ -15,9 +15,9 @@ enum nfnl_acct_msg_types {
};
enum nfnl_acct_flags {
- NFACCT_F_QUOTA_PKTS = (1 << 0),
- NFACCT_F_QUOTA_BYTES = (1 << 1),
- NFACCT_F_OVERQUOTA = (1 << 2), /* can't be set from userspace */
+ NFACCT_F_QUOTA_PKTS = (1 << 0),
+ NFACCT_F_QUOTA_BYTES = (1 << 1),
+ NFACCT_F_OVERQUOTA = (1 << 2), /* can't be set from userspace */
};
enum nfnl_acct_type {
@@ -39,15 +39,6 @@ enum nfnl_attr_filter_type {
NFACCT_FILTER_VALUE,
__NFACCT_FILTER_MAX
};
+#define NFACCT_FILTER_MAX (__NFACCT_FILTER_MAX - 1)
-#ifdef __KERNEL__
-
-struct nf_acct;
-
-extern struct nf_acct *nfnl_acct_find_get(const char *filter_name);
-extern void nfnl_acct_put(struct nf_acct *acct);
-extern void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct);
-
-#endif /* __KERNEL__ */
-
-#endif /* _NFNL_ACCT_H */
+#endif /* _NFNL_ACCT_H_ */