Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
nf_conntrack_core.h File Reference
#include <linux/netfilter.h>
#include <net/netfilter/nf_conntrack_l3proto.h>
#include <net/netfilter/nf_conntrack_l4proto.h>
#include <net/netfilter/nf_conntrack_ecache.h>

Go to the source code of this file.

Functions

unsigned int nf_conntrack_in (struct net *net, u_int8_t pf, unsigned int hooknum, struct sk_buff *skb)
 
int nf_conntrack_init (struct net *net)
 
void nf_conntrack_cleanup (struct net *net)
 
int nf_conntrack_proto_init (struct net *net)
 
void nf_conntrack_proto_fini (struct net *net)
 
bool nf_ct_get_tuple (const struct sk_buff *skb, unsigned int nhoff, unsigned int dataoff, u_int16_t l3num, u_int8_t protonum, struct nf_conntrack_tuple *tuple, const struct nf_conntrack_l3proto *l3proto, const struct nf_conntrack_l4proto *l4proto)
 
bool nf_ct_invert_tuple (struct nf_conntrack_tuple *inverse, const struct nf_conntrack_tuple *orig, const struct nf_conntrack_l3proto *l3proto, const struct nf_conntrack_l4proto *l4proto)
 
struct nf_conntrack_tuple_hashnf_conntrack_find_get (struct net *net, u16 zone, const struct nf_conntrack_tuple *tuple)
 
int __nf_conntrack_confirm (struct sk_buff *skb)
 
int print_tuple (struct seq_file *s, const struct nf_conntrack_tuple *tuple, const struct nf_conntrack_l3proto *l3proto, const struct nf_conntrack_l4proto *proto)
 

Variables

spinlock_t nf_conntrack_lock
 

Function Documentation

int __nf_conntrack_confirm ( struct sk_buff skb)

Definition at line 466 of file nf_conntrack_core.c.

void nf_conntrack_cleanup ( struct net net)

Definition at line 1375 of file nf_conntrack_core.c.

struct nf_conntrack_tuple_hash* nf_conntrack_find_get ( struct net net,
u16  zone,
const struct nf_conntrack_tuple tuple 
)
read

Definition at line 400 of file nf_conntrack_core.c.

unsigned int nf_conntrack_in ( struct net net,
u_int8_t  pf,
unsigned int  hooknum,
struct sk_buff skb 
)

Definition at line 932 of file nf_conntrack_core.c.

int nf_conntrack_init ( struct net net)

Definition at line 1616 of file nf_conntrack_core.c.

void nf_conntrack_proto_fini ( struct net net)

Definition at line 533 of file nf_conntrack_proto.c.

int nf_conntrack_proto_init ( struct net net)

Definition at line 506 of file nf_conntrack_proto.c.

bool nf_ct_get_tuple ( const struct sk_buff skb,
unsigned int  nhoff,
unsigned int  dataoff,
u_int16_t  l3num,
u_int8_t  protonum,
struct nf_conntrack_tuple tuple,
const struct nf_conntrack_l3proto l3proto,
const struct nf_conntrack_l4proto l4proto 
)

Definition at line 116 of file nf_conntrack_core.c.

bool nf_ct_invert_tuple ( struct nf_conntrack_tuple inverse,
const struct nf_conntrack_tuple orig,
const struct nf_conntrack_l3proto l3proto,
const struct nf_conntrack_l4proto l4proto 
)

Definition at line 167 of file nf_conntrack_core.c.

int print_tuple ( struct seq_file s,
const struct nf_conntrack_tuple tuple,
const struct nf_conntrack_l3proto l3proto,
const struct nf_conntrack_l4proto proto 
)

Variable Documentation

spinlock_t nf_conntrack_lock