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

Go to the source code of this file.

Data Structures

struct  nf_conntrack_l4proto
 

Macros

#define MAX_NF_CT_PROTO   256
 

Functions

struct nf_conntrack_l4proto__nf_ct_l4proto_find (u_int16_t l3proto, u_int8_t l4proto)
 
struct nf_conntrack_l4protonf_ct_l4proto_find_get (u_int16_t l3proto, u_int8_t l4proto)
 
void nf_ct_l4proto_put (struct nf_conntrack_l4proto *p)
 
int nf_conntrack_l4proto_register (struct net *net, struct nf_conntrack_l4proto *proto)
 
void nf_conntrack_l4proto_unregister (struct net *net, struct nf_conntrack_l4proto *proto)
 
int nf_ct_port_tuple_to_nlattr (struct sk_buff *skb, const struct nf_conntrack_tuple *tuple)
 
int nf_ct_port_nlattr_to_tuple (struct nlattr *tb[], struct nf_conntrack_tuple *t)
 
int nf_ct_port_nlattr_tuple_size (void)
 

Variables

struct nf_conntrack_l4proto nf_conntrack_l4proto_generic
 
struct nla_policy nf_ct_port_nla_policy []
 

Macro Definition Documentation

#define MAX_NF_CT_PROTO   256

Definition at line 115 of file nf_conntrack_l4proto.h.

Function Documentation

struct nf_conntrack_l4proto* __nf_ct_l4proto_find ( u_int16_t  l3proto,
u_int8_t  l4proto 
)
read

Definition at line 68 of file nf_conntrack_proto.c.

int nf_conntrack_l4proto_register ( struct net net,
struct nf_conntrack_l4proto proto 
)

Definition at line 435 of file nf_conntrack_proto.c.

void nf_conntrack_l4proto_unregister ( struct net net,
struct nf_conntrack_l4proto proto 
)

Definition at line 486 of file nf_conntrack_proto.c.

struct nf_conntrack_l4proto* nf_ct_l4proto_find_get ( u_int16_t  l3proto,
u_int8_t  l4proto 
)
read

Definition at line 134 of file nf_conntrack_proto.c.

void nf_ct_l4proto_put ( struct nf_conntrack_l4proto p)

Definition at line 148 of file nf_conntrack_proto.c.

int nf_ct_port_nlattr_to_tuple ( struct nlattr tb[],
struct nf_conntrack_tuple t 
)
int nf_ct_port_nlattr_tuple_size ( void  )
int nf_ct_port_tuple_to_nlattr ( struct sk_buff skb,
const struct nf_conntrack_tuple tuple 
)

Variable Documentation

struct nf_conntrack_l4proto nf_conntrack_l4proto_generic
struct nla_policy nf_ct_port_nla_policy[]