Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
nf_conntrack_expect.c File Reference
#include <linux/types.h>
#include <linux/netfilter.h>
#include <linux/skbuff.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/stddef.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/percpu.h>
#include <linux/kernel.h>
#include <linux/jhash.h>
#include <linux/moduleparam.h>
#include <linux/export.h>
#include <net/net_namespace.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_core.h>
#include <net/netfilter/nf_conntrack_expect.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <net/netfilter/nf_conntrack_tuple.h>
#include <net/netfilter/nf_conntrack_zones.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (nf_ct_expect_hsize)
 
void nf_ct_unlink_expect_report (struct nf_conntrack_expect *exp, u32 pid, int report)
 
 EXPORT_SYMBOL_GPL (nf_ct_unlink_expect_report)
 
struct nf_conntrack_expect__nf_ct_expect_find (struct net *net, u16 zone, const struct nf_conntrack_tuple *tuple)
 
 EXPORT_SYMBOL_GPL (__nf_ct_expect_find)
 
struct nf_conntrack_expectnf_ct_expect_find_get (struct net *net, u16 zone, const struct nf_conntrack_tuple *tuple)
 
 EXPORT_SYMBOL_GPL (nf_ct_expect_find_get)
 
struct nf_conntrack_expectnf_ct_find_expectation (struct net *net, u16 zone, const struct nf_conntrack_tuple *tuple)
 
void nf_ct_remove_expectations (struct nf_conn *ct)
 
 EXPORT_SYMBOL_GPL (nf_ct_remove_expectations)
 
void nf_ct_unexpect_related (struct nf_conntrack_expect *exp)
 
 EXPORT_SYMBOL_GPL (nf_ct_unexpect_related)
 
struct nf_conntrack_expectnf_ct_expect_alloc (struct nf_conn *me)
 
 EXPORT_SYMBOL_GPL (nf_ct_expect_alloc)
 
void nf_ct_expect_init (struct nf_conntrack_expect *exp, unsigned int class, u_int8_t family, const union nf_inet_addr *saddr, const union nf_inet_addr *daddr, u_int8_t proto, const __be16 *src, const __be16 *dst)
 
 EXPORT_SYMBOL_GPL (nf_ct_expect_init)
 
void nf_ct_expect_put (struct nf_conntrack_expect *exp)
 
 EXPORT_SYMBOL_GPL (nf_ct_expect_put)
 
int nf_ct_expect_related_report (struct nf_conntrack_expect *expect, u32 pid, int report)
 
 EXPORT_SYMBOL_GPL (nf_ct_expect_related_report)
 
 module_param_named (expect_hashsize, nf_ct_expect_hsize, uint, 0400)
 
int nf_conntrack_expect_init (struct net *net)
 
void nf_conntrack_expect_fini (struct net *net)
 

Variables

unsigned int nf_ct_expect_hsize __read_mostly
 

Function Documentation

struct nf_conntrack_expect* __nf_ct_expect_find ( struct net net,
u16  zone,
const struct nf_conntrack_tuple tuple 
)
read

Definition at line 89 of file nf_conntrack_expect.c.

EXPORT_SYMBOL_GPL ( nf_ct_expect_hsize  )
EXPORT_SYMBOL_GPL ( nf_ct_unlink_expect_report  )
EXPORT_SYMBOL_GPL ( __nf_ct_expect_find  )
EXPORT_SYMBOL_GPL ( nf_ct_expect_find_get  )
EXPORT_SYMBOL_GPL ( nf_ct_remove_expectations  )
EXPORT_SYMBOL_GPL ( nf_ct_unexpect_related  )
EXPORT_SYMBOL_GPL ( nf_ct_expect_alloc  )
EXPORT_SYMBOL_GPL ( nf_ct_expect_init  )
EXPORT_SYMBOL_GPL ( nf_ct_expect_put  )
EXPORT_SYMBOL_GPL ( nf_ct_expect_related_report  )
module_param_named ( expect_hashsize  ,
nf_ct_expect_hsize  ,
uint  ,
0400   
)
void nf_conntrack_expect_fini ( struct net net)

Definition at line 631 of file nf_conntrack_expect.c.

int nf_conntrack_expect_init ( struct net net)

Definition at line 590 of file nf_conntrack_expect.c.

struct nf_conntrack_expect* nf_ct_expect_alloc ( struct nf_conn me)
read

Definition at line 233 of file nf_conntrack_expect.c.

struct nf_conntrack_expect* nf_ct_expect_find_get ( struct net net,
u16  zone,
const struct nf_conntrack_tuple tuple 
)
read

Definition at line 111 of file nf_conntrack_expect.c.

void nf_ct_expect_init ( struct nf_conntrack_expect exp,
unsigned int  class,
u_int8_t  family,
const union nf_inet_addr saddr,
const union nf_inet_addr daddr,
u_int8_t  proto,
const __be16 src,
const __be16 dst 
)

Definition at line 247 of file nf_conntrack_expect.c.

void nf_ct_expect_put ( struct nf_conntrack_expect exp)

Definition at line 308 of file nf_conntrack_expect.c.

int nf_ct_expect_related_report ( struct nf_conntrack_expect expect,
u32  pid,
int  report 
)

Definition at line 417 of file nf_conntrack_expect.c.

struct nf_conntrack_expect* nf_ct_find_expectation ( struct net net,
u16  zone,
const struct nf_conntrack_tuple tuple 
)
read

Definition at line 129 of file nf_conntrack_expect.c.

void nf_ct_remove_expectations ( struct nf_conn ct)

Definition at line 171 of file nf_conntrack_expect.c.

void nf_ct_unexpect_related ( struct nf_conntrack_expect exp)

Definition at line 219 of file nf_conntrack_expect.c.

void nf_ct_unlink_expect_report ( struct nf_conntrack_expect exp,
u32  pid,
int  report 
)

Definition at line 42 of file nf_conntrack_expect.c.

Variable Documentation

struct kmem_cache* nf_ct_expect_cachep __read_mostly

Definition at line 34 of file nf_conntrack_expect.c.