Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nf_queue.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/skbuff.h>
#include <linux/netfilter.h>
#include <linux/seq_file.h>
#include <linux/rcupdate.h>
#include <net/protocol.h>
#include <net/netfilter/nf_queue.h>
#include <net/dst.h>
#include "nf_internals.h"

Go to the source code of this file.

Macros

#define nf_bridge_adjust_skb_data(s)   do {} while (0)
 
#define nf_bridge_adjust_segmented_data(s)   do {} while (0)
 

Functions

int nf_register_queue_handler (u_int8_t pf, const struct nf_queue_handler *qh)
 
 EXPORT_SYMBOL (nf_register_queue_handler)
 
int nf_unregister_queue_handler (u_int8_t pf, const struct nf_queue_handler *qh)
 
 EXPORT_SYMBOL (nf_unregister_queue_handler)
 
void nf_unregister_queue_handlers (const struct nf_queue_handler *qh)
 
 EXPORT_SYMBOL_GPL (nf_unregister_queue_handlers)
 
int nf_queue (struct sk_buff *skb, struct nf_hook_ops *elem, u_int8_t pf, unsigned int hook, struct net_device *indev, struct net_device *outdev, int(*okfn)(struct sk_buff *), unsigned int queuenum)
 
void nf_reinject (struct nf_queue_entry *entry, unsigned int verdict)
 
 EXPORT_SYMBOL (nf_reinject)
 
int __init netfilter_queue_init (void)
 

Macro Definition Documentation

#define nf_bridge_adjust_segmented_data (   s)    do {} while (0)

Definition at line 224 of file nf_queue.c.

#define nf_bridge_adjust_skb_data (   s)    do {} while (0)

Definition at line 223 of file nf_queue.c.

Function Documentation

EXPORT_SYMBOL ( nf_register_queue_handler  )
EXPORT_SYMBOL ( nf_unregister_queue_handler  )
EXPORT_SYMBOL ( nf_reinject  )
EXPORT_SYMBOL_GPL ( nf_unregister_queue_handlers  )
int __init netfilter_queue_init ( void  )

Definition at line 411 of file nf_queue.c.

int nf_queue ( struct sk_buff skb,
struct nf_hook_ops *  elem,
u_int8_t  pf,
unsigned int  hook,
struct net_device indev,
struct net_device outdev,
int(*)(struct sk_buff *)  okfn,
unsigned int  queuenum 
)

Definition at line 227 of file nf_queue.c.

int nf_register_queue_handler ( u_int8_t  pf,
const struct nf_queue_handler qh 
)

Definition at line 27 of file nf_queue.c.

void nf_reinject ( struct nf_queue_entry entry,
unsigned int  verdict 
)

Definition at line 287 of file nf_queue.c.

int nf_unregister_queue_handler ( u_int8_t  pf,
const struct nf_queue_handler qh 
)

Definition at line 53 of file nf_queue.c.

void nf_unregister_queue_handlers ( const struct nf_queue_handler qh)

Definition at line 77 of file nf_queue.c.