blob: 065522564ac6a032ce1ece83be62438f7d8b0636 [file] [log] [blame]
Harald Weltef6ebe772005-08-09 20:21:49 -07001#ifndef _NF_INTERNALS_H
2#define _NF_INTERNALS_H
3
Harald Weltef6ebe772005-08-09 20:21:49 -07004#include <linux/list.h>
5#include <linux/skbuff.h>
6#include <linux/netdevice.h>
7
8#ifdef CONFIG_NETFILTER_DEBUG
Stephen Hemminger654d0fb2010-05-13 15:02:08 +02009#define NFDEBUG(format, args...) printk(KERN_DEBUG format , ## args)
Harald Weltef6ebe772005-08-09 20:21:49 -070010#else
11#define NFDEBUG(format, args...)
12#endif
13
14
15/* core.c */
Joe Perchesc1b12032013-10-18 13:48:25 -070016unsigned int nf_iterate(struct list_head *head, struct sk_buff *skb,
David S. Millercfdfab32015-04-03 16:23:58 -040017 struct nf_hook_state *state, struct nf_hook_ops **elemp);
Harald Weltef6ebe772005-08-09 20:21:49 -070018
19/* nf_queue.c */
David S. Millercfdfab32015-04-03 16:23:58 -040020int nf_queue(struct sk_buff *skb, struct nf_hook_ops *elem,
21 struct nf_hook_state *state, unsigned int queuenum);
Pablo Neira Ayuso2385eb02015-07-20 12:55:02 +020022void nf_queue_nf_hook_drop(struct net *net, struct nf_hook_ops *ops);
Joe Perchesc1b12032013-10-18 13:48:25 -070023int __init netfilter_queue_init(void);
Harald Weltef6ebe772005-08-09 20:21:49 -070024
25/* nf_log.c */
Joe Perchesc1b12032013-10-18 13:48:25 -070026int __init netfilter_log_init(void);
Harald Weltef6ebe772005-08-09 20:21:49 -070027
28#endif