Linux Audio

Check our new training course

Loading...
v4.10.11
 1#ifndef _NF_INTERNALS_H
 2#define _NF_INTERNALS_H
 3
 4#include <linux/list.h>
 5#include <linux/skbuff.h>
 6#include <linux/netdevice.h>
 7
 8#ifdef CONFIG_NETFILTER_DEBUG
 9#define NFDEBUG(format, args...)  printk(KERN_DEBUG format , ## args)
10#else
11#define NFDEBUG(format, args...)
12#endif
13
 
 
 
 
 
 
 
 
 
 
 
14/* nf_queue.c */
15int nf_queue(struct sk_buff *skb, struct nf_hook_state *state,
16	     struct nf_hook_entry **entryp, unsigned int verdict);
17void nf_queue_nf_hook_drop(struct net *net, const struct nf_hook_entry *entry);
18int __init netfilter_queue_init(void);
 
 
 
 
19
20/* nf_log.c */
21int __init netfilter_log_init(void);
22
23#endif
v3.1
 1#ifndef _NF_INTERNALS_H
 2#define _NF_INTERNALS_H
 3
 4#include <linux/list.h>
 5#include <linux/skbuff.h>
 6#include <linux/netdevice.h>
 7
 8#ifdef CONFIG_NETFILTER_DEBUG
 9#define NFDEBUG(format, args...)  printk(KERN_DEBUG format , ## args)
10#else
11#define NFDEBUG(format, args...)
12#endif
13
14
15/* core.c */
16extern unsigned int nf_iterate(struct list_head *head,
17				struct sk_buff *skb,
18				unsigned int hook,
19				const struct net_device *indev,
20				const struct net_device *outdev,
21				struct list_head **i,
22				int (*okfn)(struct sk_buff *),
23				int hook_thresh);
24
25/* nf_queue.c */
26extern int nf_queue(struct sk_buff *skb,
27		    struct list_head *elem,
28		    u_int8_t pf, unsigned int hook,
29		    struct net_device *indev,
30		    struct net_device *outdev,
31		    int (*okfn)(struct sk_buff *),
32		    unsigned int queuenum);
33extern int __init netfilter_queue_init(void);
34
35/* nf_log.c */
36extern int __init netfilter_log_init(void);
37
38#endif