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

Go to the source code of this file.

Data Structures

struct  nf_nat_l4proto
 

Functions

int nf_nat_l4proto_register (u8 l3proto, const struct nf_nat_l4proto *l4proto)
 
void nf_nat_l4proto_unregister (u8 l3proto, const struct nf_nat_l4proto *l4proto)
 
struct nf_nat_l4proto__nf_nat_l4proto_find (u8 l3proto, u8 l4proto)
 
bool nf_nat_l4proto_in_range (const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max)
 
void nf_nat_l4proto_unique_tuple (const struct nf_nat_l3proto *l3proto, struct nf_conntrack_tuple *tuple, const struct nf_nat_range *range, enum nf_nat_manip_type maniptype, const struct nf_conn *ct, u16 *rover)
 
int nf_nat_l4proto_nlattr_to_range (struct nlattr *tb[], struct nf_nat_range *range)
 

Variables

struct nf_nat_l4proto nf_nat_l4proto_tcp
 
struct nf_nat_l4proto nf_nat_l4proto_udp
 
struct nf_nat_l4proto nf_nat_l4proto_icmp
 
struct nf_nat_l4proto nf_nat_l4proto_icmpv6
 
struct nf_nat_l4proto nf_nat_l4proto_unknown
 

Function Documentation

struct nf_nat_l4proto* __nf_nat_l4proto_find ( u8  l3proto,
u8  l4proto 
)
read

Definition at line 48 of file nf_nat_core.c.

bool nf_nat_l4proto_in_range ( const struct nf_conntrack_tuple tuple,
enum nf_nat_manip_type  maniptype,
const union nf_conntrack_man_proto min,
const union nf_conntrack_man_proto max 
)

Definition at line 20 of file nf_nat_proto_common.c.

int nf_nat_l4proto_nlattr_to_range ( struct nlattr tb[],
struct nf_nat_range range 
)
int nf_nat_l4proto_register ( u8  l3proto,
const struct nf_nat_l4proto l4proto 
)

Definition at line 544 of file nf_nat_core.c.

void nf_nat_l4proto_unique_tuple ( const struct nf_nat_l3proto l3proto,
struct nf_conntrack_tuple tuple,
const struct nf_nat_range range,
enum nf_nat_manip_type  maniptype,
const struct nf_conn ct,
u16 rover 
)

Definition at line 37 of file nf_nat_proto_common.c.

void nf_nat_l4proto_unregister ( u8  l3proto,
const struct nf_nat_l4proto l4proto 
)

Definition at line 585 of file nf_nat_core.c.

Variable Documentation

struct nf_nat_l4proto nf_nat_l4proto_icmp

Definition at line 75 of file nf_nat_proto_icmp.c.

struct nf_nat_l4proto nf_nat_l4proto_icmpv6

Definition at line 82 of file nf_nat_proto_icmpv6.c.

struct nf_nat_l4proto nf_nat_l4proto_tcp

Definition at line 77 of file nf_nat_proto_tcp.c.

struct nf_nat_l4proto nf_nat_l4proto_udp

Definition at line 68 of file nf_nat_proto_udp.c.

struct nf_nat_l4proto nf_nat_l4proto_unknown

Definition at line 50 of file nf_nat_proto_unknown.c.