2005-08-09 21:21:49 -06: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 07:02:08 -06:00
|
|
|
#define NFDEBUG(format, args...) printk(KERN_DEBUG format , ## args)
|
2005-08-09 21:21:49 -06:00
|
|
|
#else
|
|
|
|
#define NFDEBUG(format, args...)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* core.c */
|
2013-10-18 14:48:25 -06:00
|
|
|
unsigned int nf_iterate(struct list_head *head, struct sk_buff *skb,
|
2015-04-03 14:23:58 -06:00
|
|
|
struct nf_hook_state *state, struct nf_hook_ops **elemp);
|
2005-08-09 21:21:49 -06:00
|
|
|
|
|
|
|
/* nf_queue.c */
|
2015-04-03 14:23:58 -06:00
|
|
|
int nf_queue(struct sk_buff *skb, struct nf_hook_ops *elem,
|
|
|
|
struct nf_hook_state *state, unsigned int queuenum);
|
2015-07-20 04:55:02 -06:00
|
|
|
void nf_queue_nf_hook_drop(struct net *net, struct nf_hook_ops *ops);
|
2013-10-18 14:48:25 -06:00
|
|
|
int __init netfilter_queue_init(void);
|
2005-08-09 21:21:49 -06:00
|
|
|
|
|
|
|
/* nf_log.c */
|
2013-10-18 14:48:25 -06:00
|
|
|
int __init netfilter_log_init(void);
|
2005-08-09 21:21:49 -06:00
|
|
|
|
|
|
|
#endif
|