[PATCH] VM: add page_state info to per-node meminfo
[linux-ginger.git] / net / netfilter / nf_internals.h
blob6bdee2910617dac3176aef65361c9eae5399b7b5
1 #ifndef _NF_INTERNALS_H
2 #define _NF_INTERNALS_H
4 #include <linux/config.h>
5 #include <linux/list.h>
6 #include <linux/skbuff.h>
7 #include <linux/netdevice.h>
9 #ifdef CONFIG_NETFILTER_DEBUG
10 #define NFDEBUG(format, args...) printk(format , ## args)
11 #else
12 #define NFDEBUG(format, args...)
13 #endif
16 /* core.c */
17 extern unsigned int nf_iterate(struct list_head *head,
18 struct sk_buff **skb,
19 int hook,
20 const struct net_device *indev,
21 const struct net_device *outdev,
22 struct list_head **i,
23 int (*okfn)(struct sk_buff *),
24 int hook_thresh);
26 /* nf_queue.c */
27 extern int nf_queue(struct sk_buff **skb,
28 struct list_head *elem,
29 int pf, unsigned int hook,
30 struct net_device *indev,
31 struct net_device *outdev,
32 int (*okfn)(struct sk_buff *),
33 unsigned int queuenum);
34 extern int __init netfilter_queue_init(void);
36 /* nf_log.c */
37 extern int __init netfilter_log_init(void);
39 #endif