Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
nf_nat_l3proto Struct Reference

#include <nf_nat_l3proto.h>

Data Fields

u8 l3proto
 
bool(* in_range )(const struct nf_conntrack_tuple *t, const struct nf_nat_range *range)
 
u32(* secure_port )(const struct nf_conntrack_tuple *t, __be16)
 
bool(* manip_pkt )(struct sk_buff *skb, unsigned int iphdroff, const struct nf_nat_l4proto *l4proto, const struct nf_conntrack_tuple *target, enum nf_nat_manip_type maniptype)
 
void(* csum_update )(struct sk_buff *skb, unsigned int iphdroff, __sum16 *check, const struct nf_conntrack_tuple *t, enum nf_nat_manip_type maniptype)
 
void(* csum_recalc )(struct sk_buff *skb, u8 proto, void *data, __sum16 *check, int datalen, int oldlen)
 
void(* decode_session )(struct sk_buff *skb, const struct nf_conn *ct, enum ip_conntrack_dir dir, unsigned long statusbit, struct flowi *fl)
 
int(* nlattr_to_range )(struct nlattr *tb[], struct nf_nat_range *range)
 

Detailed Description

Definition at line 5 of file nf_nat_l3proto.h.

Field Documentation

void(* csum_recalc)(struct sk_buff *skb, u8 proto, void *data, __sum16 *check, int datalen, int oldlen)

Definition at line 24 of file nf_nat_l3proto.h.

void(* csum_update)(struct sk_buff *skb, unsigned int iphdroff, __sum16 *check, const struct nf_conntrack_tuple *t, enum nf_nat_manip_type maniptype)

Definition at line 19 of file nf_nat_l3proto.h.

void(* decode_session)(struct sk_buff *skb, const struct nf_conn *ct, enum ip_conntrack_dir dir, unsigned long statusbit, struct flowi *fl)

Definition at line 28 of file nf_nat_l3proto.h.

Definition at line 8 of file nf_nat_l3proto.h.

u8 l3proto

Definition at line 6 of file nf_nat_l3proto.h.

bool(* manip_pkt)(struct sk_buff *skb, unsigned int iphdroff, const struct nf_nat_l4proto *l4proto, const struct nf_conntrack_tuple *target, enum nf_nat_manip_type maniptype)

Definition at line 13 of file nf_nat_l3proto.h.

int(* nlattr_to_range)(struct nlattr *tb[], struct nf_nat_range *range)

Definition at line 34 of file nf_nat_l3proto.h.

Definition at line 11 of file nf_nat_l3proto.h.


The documentation for this struct was generated from the following file: