2005-08-10 03:21:49 +00:00
|
|
|
#ifndef _NF_INTERNALS_H
|
|
|
|
#define _NF_INTERNALS_H
|
|
|
|
|
|
|
|
#include <linux/list.h>
|
|
|
|
#include <linux/skbuff.h>
|
|
|
|
#include <linux/netdevice.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_NETFILTER_DEBUG
|
2010-05-13 13:02:08 +00:00
|
|
|
#define NFDEBUG(format, args...) printk(KERN_DEBUG format , ## args)
|
2005-08-10 03:21:49 +00:00
|
|
|
#else
|
|
|
|
#define NFDEBUG(format, args...)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* core.c */
|
2013-10-18 20:48:25 +00:00
|
|
|
unsigned int nf_iterate(struct list_head *head, struct sk_buff *skb,
|
2015-04-03 20:23:58 +00:00
|
|
|
struct nf_hook_state *state, struct nf_hook_ops **elemp);
|
2005-08-10 03:21:49 +00:00
|
|
|
|
|
|
|
/* nf_queue.c */
|
2015-04-03 20:23:58 +00:00
|
|
|
int nf_queue(struct sk_buff *skb, struct nf_hook_ops *elem,
|
|
|
|
struct nf_hook_state *state, unsigned int queuenum);
|
2015-07-20 10:55:02 +00:00
|
|
|
void nf_queue_nf_hook_drop(struct net *net, struct nf_hook_ops *ops);
|
2013-10-18 20:48:25 +00:00
|
|
|
int __init netfilter_queue_init(void);
|
2005-08-10 03:21:49 +00:00
|
|
|
|
|
|
|
/* nf_log.c */
|
2013-10-18 20:48:25 +00:00
|
|
|
int __init netfilter_log_init(void);
|
2005-08-10 03:21:49 +00:00
|
|
|
|
|
|
|
#endif
|