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

#include <nf_conntrack_l4proto.h>

Data Fields

u_int16_t l3proto
 
u_int8_t l4proto
 
bool(* pkt_to_tuple )(const struct sk_buff *skb, unsigned int dataoff, struct nf_conntrack_tuple *tuple)
 
bool(* invert_tuple )(struct nf_conntrack_tuple *inverse, const struct nf_conntrack_tuple *orig)
 
int(* packet )(struct nf_conn *ct, const struct sk_buff *skb, unsigned int dataoff, enum ip_conntrack_info ctinfo, u_int8_t pf, unsigned int hooknum, unsigned int *timeouts)
 
bool(* new )(struct nf_conn *ct, const struct sk_buff *skb, unsigned int dataoff, unsigned int *timeouts)
 
void(* destroy )(struct nf_conn *ct)
 
int(* error )(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, unsigned int dataoff, enum ip_conntrack_info *ctinfo, u_int8_t pf, unsigned int hooknum)
 
int(* print_tuple )(struct seq_file *s, const struct nf_conntrack_tuple *)
 
int(* print_conntrack )(struct seq_file *s, struct nf_conn *)
 
unsigned int *(* get_timeouts )(struct net *net)
 
int(* to_nlattr )(struct sk_buff *skb, struct nlattr *nla, struct nf_conn *ct)
 
int(* nlattr_size )(void)
 
int(* from_nlattr )(struct nlattr *tb[], struct nf_conn *ct)
 
int(* tuple_to_nlattr )(struct sk_buff *skb, const struct nf_conntrack_tuple *t)
 
int(* nlattr_tuple_size )(void)
 
int(* nlattr_to_tuple )(struct nlattr *tb[], struct nf_conntrack_tuple *t)
 
struct nla_policynla_policy
 
size_t nla_size
 
intnet_id
 
int(* init_net )(struct net *net, u_int16_t proto)
 
struct nf_proto_net *(* get_net_proto )(struct net *net)
 
const charname
 
struct moduleme
 

Detailed Description

Definition at line 19 of file nf_conntrack_l4proto.h.

Field Documentation

void(* destroy)(struct nf_conn *ct)

Definition at line 52 of file nf_conntrack_l4proto.h.

int(* error)(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, unsigned int dataoff, enum ip_conntrack_info *ctinfo, u_int8_t pf, unsigned int hooknum)

Definition at line 54 of file nf_conntrack_l4proto.h.

int(* from_nlattr)(struct nlattr *tb[], struct nf_conn *ct)

Definition at line 75 of file nf_conntrack_l4proto.h.

struct nf_proto_net*(* get_net_proto)(struct net *net)
read

Definition at line 103 of file nf_conntrack_l4proto.h.

unsigned int*(* get_timeouts)(struct net *net)

Definition at line 66 of file nf_conntrack_l4proto.h.

int(* init_net)(struct net *net, u_int16_t proto)

Definition at line 100 of file nf_conntrack_l4proto.h.

bool(* invert_tuple)(struct nf_conntrack_tuple *inverse, const struct nf_conntrack_tuple *orig)

Definition at line 34 of file nf_conntrack_l4proto.h.

u_int16_t l3proto

Definition at line 21 of file nf_conntrack_l4proto.h.

u_int8_t l4proto

Definition at line 24 of file nf_conntrack_l4proto.h.

Definition at line 109 of file nf_conntrack_l4proto.h.

const char* name

Definition at line 106 of file nf_conntrack_l4proto.h.

int* net_id

Definition at line 98 of file nf_conntrack_l4proto.h.

bool(* new)(struct nf_conn *ct, const struct sk_buff *skb, unsigned int dataoff, unsigned int *timeouts)

Definition at line 48 of file nf_conntrack_l4proto.h.

Definition at line 83 of file nf_conntrack_l4proto.h.

size_t nla_size

Definition at line 85 of file nf_conntrack_l4proto.h.

int(* nlattr_size)(void)

Definition at line 72 of file nf_conntrack_l4proto.h.

int(* nlattr_to_tuple)(struct nlattr *tb[], struct nf_conntrack_tuple *t)

Definition at line 81 of file nf_conntrack_l4proto.h.

int(* nlattr_tuple_size)(void)

Definition at line 80 of file nf_conntrack_l4proto.h.

int(* packet)(struct nf_conn *ct, const struct sk_buff *skb, unsigned int dataoff, enum ip_conntrack_info ctinfo, u_int8_t pf, unsigned int hooknum, unsigned int *timeouts)

Definition at line 38 of file nf_conntrack_l4proto.h.

bool(* pkt_to_tuple)(const struct sk_buff *skb, unsigned int dataoff, struct nf_conntrack_tuple *tuple)

Definition at line 28 of file nf_conntrack_l4proto.h.

int(* print_conntrack)(struct seq_file *s, struct nf_conn *)

Definition at line 63 of file nf_conntrack_l4proto.h.

Definition at line 59 of file nf_conntrack_l4proto.h.

Definition at line 69 of file nf_conntrack_l4proto.h.

Definition at line 77 of file nf_conntrack_l4proto.h.


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