summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nfnetlink_acct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netfilter/nfnetlink_acct.h')
-rw-r--r--include/linux/netfilter/nfnetlink_acct.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/netfilter/nfnetlink_acct.h b/include/linux/netfilter/nfnetlink_acct.h
index 99c68eb..ab9e367 100644
--- a/include/linux/netfilter/nfnetlink_acct.h
+++ b/include/linux/netfilter/nfnetlink_acct.h
@@ -2,9 +2,6 @@
#define _NFNL_ACCT_H_
#include <linux/netfilter/nfnetlink.h>
-/* FIXME: tweak to get it working with external headers. */
-#define NFNL_SUBSYS_ACCT NFNL_SUBSYS_OSF
-
#define NFACCT_NAME_MAX 64
enum nfnl_acct_msg_types {
@@ -27,8 +24,9 @@ enum nfnl_acct_type {
struct nf_acct;
-extern struct nf_acct *nfnl_acct_find_get(char *filter_name);
+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__ */