ia64/linux-2.6.18-xen.hg

annotate net/netfilter/nf_internals.h @ 0:831230e53067

Import 2.6.18 from kernel.org tarball.
author Ian Campbell <ian.campbell@xensource.com>
date Wed Apr 11 14:15:44 2007 +0100 (2007-04-11)
parents
children
rev   line source
ian@0 1 #ifndef _NF_INTERNALS_H
ian@0 2 #define _NF_INTERNALS_H
ian@0 3
ian@0 4 #include <linux/list.h>
ian@0 5 #include <linux/skbuff.h>
ian@0 6 #include <linux/netdevice.h>
ian@0 7
ian@0 8 #ifdef CONFIG_NETFILTER_DEBUG
ian@0 9 #define NFDEBUG(format, args...) printk(format , ## args)
ian@0 10 #else
ian@0 11 #define NFDEBUG(format, args...)
ian@0 12 #endif
ian@0 13
ian@0 14
ian@0 15 /* core.c */
ian@0 16 extern unsigned int nf_iterate(struct list_head *head,
ian@0 17 struct sk_buff **skb,
ian@0 18 int hook,
ian@0 19 const struct net_device *indev,
ian@0 20 const struct net_device *outdev,
ian@0 21 struct list_head **i,
ian@0 22 int (*okfn)(struct sk_buff *),
ian@0 23 int hook_thresh);
ian@0 24
ian@0 25 /* nf_queue.c */
ian@0 26 extern int nf_queue(struct sk_buff **skb,
ian@0 27 struct list_head *elem,
ian@0 28 int pf, unsigned int hook,
ian@0 29 struct net_device *indev,
ian@0 30 struct net_device *outdev,
ian@0 31 int (*okfn)(struct sk_buff *),
ian@0 32 unsigned int queuenum);
ian@0 33 extern int __init netfilter_queue_init(void);
ian@0 34
ian@0 35 /* nf_log.c */
ian@0 36 extern int __init netfilter_log_init(void);
ian@0 37
ian@0 38 #endif