ia64/linux-2.6.18-xen.hg

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/net/netfilter/nf_internals.h	Wed Apr 11 14:15:44 2007 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +#ifndef _NF_INTERNALS_H
     1.5 +#define _NF_INTERNALS_H
     1.6 +
     1.7 +#include <linux/list.h>
     1.8 +#include <linux/skbuff.h>
     1.9 +#include <linux/netdevice.h>
    1.10 +
    1.11 +#ifdef CONFIG_NETFILTER_DEBUG
    1.12 +#define NFDEBUG(format, args...)  printk(format , ## args)
    1.13 +#else
    1.14 +#define NFDEBUG(format, args...)
    1.15 +#endif
    1.16 +
    1.17 +
    1.18 +/* core.c */
    1.19 +extern unsigned int nf_iterate(struct list_head *head,
    1.20 +				struct sk_buff **skb,
    1.21 +				int hook,
    1.22 +				const struct net_device *indev,
    1.23 +				const struct net_device *outdev,
    1.24 +				struct list_head **i,
    1.25 +				int (*okfn)(struct sk_buff *),
    1.26 +				int hook_thresh);
    1.27 +
    1.28 +/* nf_queue.c */
    1.29 +extern int nf_queue(struct sk_buff **skb, 
    1.30 +		    struct list_head *elem, 
    1.31 +		    int pf, unsigned int hook,
    1.32 +		    struct net_device *indev,
    1.33 +		    struct net_device *outdev,
    1.34 +		    int (*okfn)(struct sk_buff *),
    1.35 +		    unsigned int queuenum);
    1.36 +extern int __init netfilter_queue_init(void);
    1.37 +
    1.38 +/* nf_log.c */
    1.39 +extern int __init netfilter_log_init(void);
    1.40 +
    1.41 +#endif