mm-cma-allocation-trigger-fix
[deliverable/linux.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
JP
16unsigned int nf_iterate(struct list_head *head, struct sk_buff *skb,
17 unsigned int hook, const struct net_device *indev,
18 const struct net_device *outdev,
19 struct nf_hook_ops **elemp,
20 int (*okfn)(struct sk_buff *), int hook_thresh);
f6ebe77f
HW
21
22/* nf_queue.c */
c1b1203d
JP
23int nf_queue(struct sk_buff *skb, struct nf_hook_ops *elem, u_int8_t pf,
24 unsigned int hook, struct net_device *indev,
25 struct net_device *outdev, int (*okfn)(struct sk_buff *),
26 unsigned int queuenum);
27int __init netfilter_queue_init(void);
f6ebe77f
HW
28
29/* nf_log.c */
c1b1203d 30int __init netfilter_log_init(void);
f6ebe77f
HW
31
32#endif
This page took 0.690778 seconds and 5 git commands to generate.