From 4b18a4b1e93a462de63ea2325c54de8530624395 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 1 Dec 2011 14:51:30 +0100 Subject: update headers to use new nfnetlink subsys --- include/linux/netfilter/nfnetlink_acct.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/linux/netfilter/nfnetlink_acct.h') 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 -/* 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__ */ -- cgit v1.2.3