blob: 9fdb655f85bc15fe6b0566f25f876a5561cbc576 [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 */
Aaron Conolee3b37f12016-09-21 11:35:07 -040016unsigned int nf_iterate(struct sk_buff *skb, struct nf_hook_state *state,
17 struct nf_hook_entry **entryp);
Harald Weltef6ebe772005-08-09 20:21:49 -070018
19/* nf_queue.c */
Aaron Conolee3b37f12016-09-21 11:35:07 -040020int nf_queue(struct sk_buff *skb, struct nf_hook_state *state,
Pablo Neira Ayuso7034b562016-10-17 18:05:32 +010021 struct nf_hook_entry **entryp, unsigned int verdict);
Aaron Conolee3b37f12016-09-21 11:35:07 -040022void nf_queue_nf_hook_drop(struct net *net, const struct nf_hook_entry *entry);
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