Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
nf_conntrack_helper.h File Reference
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_extend.h>
#include <net/netfilter/nf_conntrack_expect.h>

Go to the source code of this file.

Data Structures

struct  nf_conntrack_helper
 
struct  nf_ct_helper_expectfn
 

Macros

#define NF_CT_HELPER_NAME_LEN   16
 

Enumerations

enum  nf_ct_helper_flags { NF_CT_HELPER_F_USERSPACE = (1 << 0), NF_CT_HELPER_F_CONFIGURED = (1 << 1) }
 

Functions

struct nf_conntrack_helper__nf_conntrack_helper_find (const char *name, u16 l3num, u8 protonum)
 
struct nf_conntrack_helpernf_conntrack_helper_try_module_get (const char *name, u16 l3num, u8 protonum)
 
int nf_conntrack_helper_register (struct nf_conntrack_helper *)
 
void nf_conntrack_helper_unregister (struct nf_conntrack_helper *)
 
struct nf_conn_helpnf_ct_helper_ext_add (struct nf_conn *ct, struct nf_conntrack_helper *helper, gfp_t gfp)
 
int __nf_ct_try_assign_helper (struct nf_conn *ct, struct nf_conn *tmpl, gfp_t flags)
 
void nf_ct_helper_destroy (struct nf_conn *ct)
 
int nf_conntrack_helper_init (struct net *net)
 
void nf_conntrack_helper_fini (struct net *net)
 
int nf_conntrack_broadcast_help (struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int timeout)
 
void nf_ct_helper_expectfn_register (struct nf_ct_helper_expectfn *n)
 
void nf_ct_helper_expectfn_unregister (struct nf_ct_helper_expectfn *n)
 
struct nf_ct_helper_expectfnnf_ct_helper_expectfn_find_by_name (const char *name)
 
struct nf_ct_helper_expectfnnf_ct_helper_expectfn_find_by_symbol (const void *symbol)
 

Variables

struct hlist_headnf_ct_helper_hash
 
unsigned int nf_ct_helper_hsize
 

Macro Definition Documentation

#define NF_CT_HELPER_NAME_LEN   16

Definition at line 23 of file nf_conntrack_helper.h.

Enumeration Type Documentation

Enumerator:
NF_CT_HELPER_F_USERSPACE 
NF_CT_HELPER_F_CONFIGURED 

Definition at line 18 of file nf_conntrack_helper.h.

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.

int nf_conntrack_broadcast_help ( struct sk_buff skb,
unsigned int  protoff,
struct nf_conn ct,
enum ip_conntrack_info  ctinfo,
unsigned int  timeout 
)

Definition at line 22 of file nf_conntrack_broadcast.c.

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 )

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 )

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 hlist_head* nf_ct_helper_hash
unsigned int nf_ct_helper_hsize