Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux-2.6-block.git] / net / netfilter / nf_internals.h
CommitLineData
f6ebe77f
HW
1#ifndef _NF_INTERNALS_H
2#define _NF_INTERNALS_H
3
f6ebe77f
HW
4#include <linux/list.h>
5#include <linux/skbuff.h>
6#include <linux/netdevice.h>
7
8#ifdef CONFIG_NETFILTER_DEBUG
654d0fbd 9#define NFDEBUG(format, args...) printk(KERN_DEBUG format , ## args)
f6ebe77f
HW
10#else
11#define NFDEBUG(format, args...)
12#endif
13
14
15/* core.c */
c1b1203d 16unsigned int nf_iterate(struct list_head *head, struct sk_buff *skb,
cfdfab31 17 struct nf_hook_state *state, struct nf_hook_ops **elemp);
f6ebe77f
HW
18
19/* nf_queue.c */
cfdfab31
DM
20int nf_queue(struct sk_buff *skb, struct nf_hook_ops *elem,
21 struct nf_hook_state *state, unsigned int queuenum);
c1b1203d 22int __init netfilter_queue_init(void);
f6ebe77f
HW
23
24/* nf_log.c */
c1b1203d 25int __init netfilter_log_init(void);
f6ebe77f
HW
26
27#endif