blob: c46d214d532355b7294a543d7c68843a82fb489d [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
Harald Weltef6ebe772005-08-09 20:21:49 -070014/* nf_queue.c */
Aaron Conolee3b37f12016-09-21 11:35:07 -040015int nf_queue(struct sk_buff *skb, struct nf_hook_state *state,
Pablo Neira Ayuso7034b562016-10-17 18:05:32 +010016 struct nf_hook_entry **entryp, unsigned int verdict);
Aaron Conolee3b37f12016-09-21 11:35:07 -040017void nf_queue_nf_hook_drop(struct net *net, const struct nf_hook_entry *entry);
Joe Perchesc1b12032013-10-18 13:48:25 -070018int __init netfilter_queue_init(void);
Harald Weltef6ebe772005-08-09 20:21:49 -070019
20/* nf_log.c */
Joe Perchesc1b12032013-10-18 13:48:25 -070021int __init netfilter_log_init(void);
Harald Weltef6ebe772005-08-09 20:21:49 -070022
23#endif