]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - net/netfilter/nf_internals.h
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(KERN_DEBUG format , ## args)
11 #define NFDEBUG(format, args...)
16 extern unsigned int nf_iterate(struct list_head
*head
,
19 const struct net_device
*indev
,
20 const struct net_device
*outdev
,
21 struct nf_hook_ops
**elemp
,
22 int (*okfn
)(struct sk_buff
*),
26 extern int nf_queue(struct sk_buff
*skb
,
27 struct nf_hook_ops
*elem
,
28 u_int8_t 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);
36 extern int __init
netfilter_log_init(void);