]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - net/netfilter/nf_internals.h
Merge branch 'for-linus-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[karo-tx-linux.git] / net / netfilter / nf_internals.h
1 #ifndef _NF_INTERNALS_H
2 #define _NF_INTERNALS_H
3
4 #include <linux/list.h>
5 #include <linux/skbuff.h>
6 #include <linux/netdevice.h>
7
8 #ifdef CONFIG_NETFILTER_DEBUG
9 #define NFDEBUG(format, args...)  printk(KERN_DEBUG format , ## args)
10 #else
11 #define NFDEBUG(format, args...)
12 #endif
13
14
15 /* core.c */
16 unsigned int nf_iterate(struct list_head *head, struct sk_buff *skb,
17                         struct nf_hook_state *state, struct nf_hook_ops **elemp);
18
19 /* nf_queue.c */
20 int nf_queue(struct sk_buff *skb, struct nf_hook_ops *elem,
21              struct nf_hook_state *state, unsigned int queuenum);
22 void nf_queue_nf_hook_drop(struct net *net, struct nf_hook_ops *ops);
23 int __init netfilter_queue_init(void);
24
25 /* nf_log.c */
26 int __init netfilter_log_init(void);
27
28 #endif