Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
nfnetlink_queue_core.c File Reference
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/notifier.h>
#include <linux/netdevice.h>
#include <linux/netfilter.h>
#include <linux/proc_fs.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv6.h>
#include <linux/netfilter/nfnetlink.h>
#include <linux/netfilter/nfnetlink_queue.h>
#include <linux/list.h>
#include <net/sock.h>
#include <net/netfilter/nf_queue.h>
#include <net/netfilter/nfnetlink_queue.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  nfqnl_instance
 

Macros

#define NFQNL_QMAX_DEFAULT   1024
 
#define INSTANCE_BUCKETS   16
 
#define RCV_SKB_FAIL(err)   do { netlink_ack(skb, nlh, (err)); return; } while (0)
 

Typedefs

typedef int(* nfqnl_cmpfn )(struct nf_queue_entry *, unsigned long)
 

Functions

 MODULE_DESCRIPTION ("netfilter packet queue handler")
 
 MODULE_AUTHOR ("Harald Welte <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_NFNL_SUBSYS (NFNL_SUBSYS_QUEUE)
 
 module_init (nfnetlink_queue_init)
 
 module_exit (nfnetlink_queue_fini)
 

Macro Definition Documentation

#define INSTANCE_BUCKETS   16

Definition at line 71 of file nfnetlink_queue_core.c.

#define NFQNL_QMAX_DEFAULT   1024

Definition at line 41 of file nfnetlink_queue_core.c.

#define RCV_SKB_FAIL (   err)    do { netlink_ack(skb, nlh, (err)); return; } while (0)

Definition at line 597 of file nfnetlink_queue_core.c.

Typedef Documentation

typedef int(* nfqnl_cmpfn)(struct nf_queue_entry *, unsigned long)

Definition at line 67 of file nfnetlink_queue_core.c.

Function Documentation

MODULE_ALIAS_NFNL_SUBSYS ( NFNL_SUBSYS_QUEUE  )
MODULE_AUTHOR ( "Harald Welte <[email protected]>"  )
MODULE_DESCRIPTION ( "netfilter packet queue handler )
module_exit ( nfnetlink_queue_fini  )
module_init ( nfnetlink_queue_init  )
MODULE_LICENSE ( "GPL"  )