[IRDA]: IrDA prototype fixes
[pandora-kernel.git] / net / netfilter / nf_internals.h
1 #ifndef _NF_INTERNALS_H
2 #define _NF_INTERNALS_H
3
4 #include <linux/config.h>
5 #include <linux/list.h>
6 #include <linux/skbuff.h>
7 #include <linux/netdevice.h>
8
9 #ifdef CONFIG_NETFILTER_DEBUG
10 #define NFDEBUG(format, args...)  printk(format , ## args)
11 #else
12 #define NFDEBUG(format, args...)
13 #endif
14
15
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);
25
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);
35
36 /* nf_log.c */
37 extern int __init netfilter_log_init(void);
38
39 #endif