Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
nf_conntrack_helper.c File Reference
#include <linux/types.h>
#include <linux/netfilter.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/vmalloc.h>
#include <linux/stddef.h>
#include <linux/random.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/rculist.h>
#include <linux/rtnetlink.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_l3proto.h>
#include <net/netfilter/nf_conntrack_l4proto.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <net/netfilter/nf_conntrack_core.h>
#include <net/netfilter/nf_conntrack_extend.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (nf_ct_helper_hash)
 
 EXPORT_SYMBOL_GPL (nf_ct_helper_hsize)
 
 module_param_named (nf_conntrack_helper, nf_ct_auto_assign_helper, bool, 0644)
 
 MODULE_PARM_DESC (nf_conntrack_helper,"Enable automatic conntrack helper assignment (default 1)")
 
struct nf_conntrack_helper__nf_conntrack_helper_find (const char *name, u16 l3num, u8 protonum)
 
 EXPORT_SYMBOL_GPL (__nf_conntrack_helper_find)
 
struct nf_conntrack_helpernf_conntrack_helper_try_module_get (const char *name, u16 l3num, u8 protonum)
 
 EXPORT_SYMBOL_GPL (nf_conntrack_helper_try_module_get)
 
struct nf_conn_helpnf_ct_helper_ext_add (struct nf_conn *ct, struct nf_conntrack_helper *helper, gfp_t gfp)
 
 EXPORT_SYMBOL_GPL (nf_ct_helper_ext_add)
 
int __nf_ct_try_assign_helper (struct nf_conn *ct, struct nf_conn *tmpl, gfp_t flags)
 
 EXPORT_SYMBOL_GPL (__nf_ct_try_assign_helper)
 
void nf_ct_helper_destroy (struct nf_conn *ct)
 
void nf_ct_helper_expectfn_register (struct nf_ct_helper_expectfn *n)
 
 EXPORT_SYMBOL_GPL (nf_ct_helper_expectfn_register)
 
void nf_ct_helper_expectfn_unregister (struct nf_ct_helper_expectfn *n)
 
 EXPORT_SYMBOL_GPL (nf_ct_helper_expectfn_unregister)
 
struct nf_ct_helper_expectfnnf_ct_helper_expectfn_find_by_name (const char *name)
 
 EXPORT_SYMBOL_GPL (nf_ct_helper_expectfn_find_by_name)
 
struct nf_ct_helper_expectfnnf_ct_helper_expectfn_find_by_symbol (const void *symbol)
 
 EXPORT_SYMBOL_GPL (nf_ct_helper_expectfn_find_by_symbol)
 
int nf_conntrack_helper_register (struct nf_conntrack_helper *me)
 
 EXPORT_SYMBOL_GPL (nf_conntrack_helper_register)
 
void nf_conntrack_helper_unregister (struct nf_conntrack_helper *me)
 
 EXPORT_SYMBOL_GPL (nf_conntrack_helper_unregister)
 
int nf_conntrack_helper_init (struct net *net)
 
void nf_conntrack_helper_fini (struct net *net)
 

Variables

struct hlist_head
*nf_ct_helper_hash 
__read_mostly = true
 

Function Documentation

struct nf_conntrack_helper* __nf_conntrack_helper_find ( const char name,
u16  l3num,
u8  protonum 
)
read

Definition at line 129 of file nf_conntrack_helper.c.

int __nf_ct_try_assign_helper ( struct nf_conn ct,
struct nf_conn tmpl,
gfp_t  flags 
)

Definition at line 182 of file nf_conntrack_helper.c.

EXPORT_SYMBOL_GPL ( nf_ct_helper_hash  )
EXPORT_SYMBOL_GPL ( nf_ct_helper_hsize  )
EXPORT_SYMBOL_GPL ( __nf_conntrack_helper_find  )
EXPORT_SYMBOL_GPL ( nf_conntrack_helper_try_module_get  )
EXPORT_SYMBOL_GPL ( nf_ct_helper_ext_add  )
EXPORT_SYMBOL_GPL ( __nf_ct_try_assign_helper  )
EXPORT_SYMBOL_GPL ( nf_ct_helper_expectfn_register  )
EXPORT_SYMBOL_GPL ( nf_ct_helper_expectfn_unregister  )
EXPORT_SYMBOL_GPL ( nf_ct_helper_expectfn_find_by_name  )
EXPORT_SYMBOL_GPL ( nf_ct_helper_expectfn_find_by_symbol  )
EXPORT_SYMBOL_GPL ( nf_conntrack_helper_register  )
EXPORT_SYMBOL_GPL ( nf_conntrack_helper_unregister  )
module_param_named ( nf_conntrack_helper  ,
nf_ct_auto_assign_helper  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( nf_conntrack_helper  ,
"Enable automatic conntrack helper assignment (default 1)"   
)
void nf_conntrack_helper_fini ( struct net net)

Definition at line 455 of file nf_conntrack_helper.c.

int nf_conntrack_helper_init ( struct net net)

Definition at line 422 of file nf_conntrack_helper.c.

int nf_conntrack_helper_register ( struct nf_conntrack_helper me)

Definition at line 331 of file nf_conntrack_helper.c.

struct nf_conntrack_helper* nf_conntrack_helper_try_module_get ( const char name,
u16  l3num,
u8  protonum 
)
read

Definition at line 148 of file nf_conntrack_helper.c.

void nf_conntrack_helper_unregister ( struct nf_conntrack_helper me)

Definition at line 393 of file nf_conntrack_helper.c.

void nf_ct_helper_destroy ( struct nf_conn ct)

Definition at line 263 of file nf_conntrack_helper.c.

struct nf_ct_helper_expectfn* nf_ct_helper_expectfn_find_by_name ( const char name)
read

Definition at line 296 of file nf_conntrack_helper.c.

struct nf_ct_helper_expectfn* nf_ct_helper_expectfn_find_by_symbol ( const void symbol)
read

Definition at line 314 of file nf_conntrack_helper.c.

void nf_ct_helper_expectfn_register ( struct nf_ct_helper_expectfn n)

Definition at line 279 of file nf_conntrack_helper.c.

void nf_ct_helper_expectfn_unregister ( struct nf_ct_helper_expectfn n)

Definition at line 287 of file nf_conntrack_helper.c.

struct nf_conn_help* nf_ct_helper_ext_add ( struct nf_conn ct,
struct nf_conntrack_helper helper,
gfp_t  gfp 
)
read

Definition at line 167 of file nf_conntrack_helper.c.

Variable Documentation

struct nf_ct_ext_type helper_extend __read_mostly = true

Definition at line 33 of file nf_conntrack_helper.c.