Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
nf_nat_proto_common.c File Reference
#include <linux/types.h>
#include <linux/random.h>
#include <linux/netfilter.h>
#include <linux/export.h>
#include <net/netfilter/nf_nat.h>
#include <net/netfilter/nf_nat_core.h>
#include <net/netfilter/nf_nat_l3proto.h>
#include <net/netfilter/nf_nat_l4proto.h>

Go to the source code of this file.

Functions

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)
 
 EXPORT_SYMBOL_GPL (nf_nat_l4proto_in_range)
 
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)
 
 EXPORT_SYMBOL_GPL (nf_nat_l4proto_unique_tuple)
 

Function Documentation

EXPORT_SYMBOL_GPL ( nf_nat_l4proto_in_range  )
EXPORT_SYMBOL_GPL ( nf_nat_l4proto_unique_tuple  )
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.

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.