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

#include <ip_vs.h>

Data Fields

struct ip_vs_protocolnext
 
charname
 
u16 protocol
 
u16 num_states
 
int dont_defrag
 
void(* init )(struct ip_vs_protocol *pp)
 
void(* exit )(struct ip_vs_protocol *pp)
 
int(* init_netns )(struct net *net, struct ip_vs_proto_data *pd)
 
void(* exit_netns )(struct net *net, struct ip_vs_proto_data *pd)
 
int(* conn_schedule )(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp)
 
struct ip_vs_conn *(* conn_in_get )(int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, unsigned int proto_off, int inverse)
 
struct ip_vs_conn *(* conn_out_get )(int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, unsigned int proto_off, int inverse)
 
int(* snat_handler )(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp)
 
int(* dnat_handler )(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp)
 
int(* csum_check )(int af, struct sk_buff *skb, struct ip_vs_protocol *pp)
 
const char *(* state_name )(int state)
 
void(* state_transition )(struct ip_vs_conn *cp, int direction, const struct sk_buff *skb, struct ip_vs_proto_data *pd)
 
int(* register_app )(struct net *net, struct ip_vs_app *inc)
 
void(* unregister_app )(struct net *net, struct ip_vs_app *inc)
 
int(* app_conn_bind )(struct ip_vs_conn *cp)
 
void(* debug_packet )(int af, struct ip_vs_protocol *pp, const struct sk_buff *skb, int offset, const char *msg)
 
void(* timeout_change )(struct ip_vs_proto_data *pd, int flags)
 

Detailed Description

Definition at line 384 of file ip_vs.h.

Field Documentation

int(* app_conn_bind)(struct ip_vs_conn *cp)

Definition at line 436 of file ip_vs.h.

struct ip_vs_conn*(* conn_in_get)(int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, unsigned int proto_off, int inverse)
read

Definition at line 404 of file ip_vs.h.

struct ip_vs_conn*(* conn_out_get)(int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, unsigned int proto_off, int inverse)
read

Definition at line 411 of file ip_vs.h.

int(* conn_schedule)(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp)

Definition at line 399 of file ip_vs.h.

int(* csum_check)(int af, struct sk_buff *skb, struct ip_vs_protocol *pp)

Definition at line 423 of file ip_vs.h.

Definition at line 438 of file ip_vs.h.

Definition at line 420 of file ip_vs.h.

int dont_defrag

Definition at line 389 of file ip_vs.h.

Definition at line 393 of file ip_vs.h.

Definition at line 397 of file ip_vs.h.

Definition at line 391 of file ip_vs.h.

int(* init_netns)(struct net *net, struct ip_vs_proto_data *pd)

Definition at line 395 of file ip_vs.h.

char* name

Definition at line 386 of file ip_vs.h.

Definition at line 385 of file ip_vs.h.

u16 num_states

Definition at line 388 of file ip_vs.h.

Definition at line 387 of file ip_vs.h.

int(* register_app)(struct net *net, struct ip_vs_app *inc)

Definition at line 432 of file ip_vs.h.

Definition at line 417 of file ip_vs.h.

const char*(* state_name)(int state)

Definition at line 426 of file ip_vs.h.

Definition at line 428 of file ip_vs.h.

void(* timeout_change)(struct ip_vs_proto_data *pd, int flags)

Definition at line 443 of file ip_vs.h.

void(* unregister_app)(struct net *net, struct ip_vs_app *inc)

Definition at line 434 of file ip_vs.h.


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