Merge branch 'fixes' of git://git.linux-nfs.org/pub/linux/nfs-2.6
[linux-2.6/suspend2-2.6.18.git] / net / netfilter / nf_internals.h
blob86e392bfe8330e68484f6cab83cfc9749091cb97
1 #ifndef _NF_INTERNALS_H
2 #define _NF_INTERNALS_H
4 #include <linux/list.h>
5 #include <linux/skbuff.h>
6 #include <linux/netdevice.h>
8 #ifdef CONFIG_NETFILTER_DEBUG
9 #define NFDEBUG(format, args...) printk(format , ## args)
10 #else
11 #define NFDEBUG(format, args...)
12 #endif
15 /* core.c */
16 extern unsigned int nf_iterate(struct list_head *head,
17 struct sk_buff **skb,
18 int hook,
19 const struct net_device *indev,
20 const struct net_device *outdev,
21 struct list_head **i,
22 int (*okfn)(struct sk_buff *),
23 int hook_thresh);
25 /* nf_queue.c */
26 extern int nf_queue(struct sk_buff **skb,
27 struct list_head *elem,
28 int pf, unsigned int hook,
29 struct net_device *indev,
30 struct net_device *outdev,
31 int (*okfn)(struct sk_buff *),
32 unsigned int queuenum);
33 extern int __init netfilter_queue_init(void);
35 /* nf_log.c */
36 extern int __init netfilter_log_init(void);
38 #endif