diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip_vs.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 3d3b699dc022..68f004f9bcc2 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -296,21 +296,23 @@ struct ip_vs_protocol { | |||
296 | 296 | ||
297 | void (*exit)(struct ip_vs_protocol *pp); | 297 | void (*exit)(struct ip_vs_protocol *pp); |
298 | 298 | ||
299 | int (*conn_schedule)(struct sk_buff *skb, | 299 | int (*conn_schedule)(int af, struct sk_buff *skb, |
300 | struct ip_vs_protocol *pp, | 300 | struct ip_vs_protocol *pp, |
301 | int *verdict, struct ip_vs_conn **cpp); | 301 | int *verdict, struct ip_vs_conn **cpp); |
302 | 302 | ||
303 | struct ip_vs_conn * | 303 | struct ip_vs_conn * |
304 | (*conn_in_get)(const struct sk_buff *skb, | 304 | (*conn_in_get)(int af, |
305 | const struct sk_buff *skb, | ||
305 | struct ip_vs_protocol *pp, | 306 | struct ip_vs_protocol *pp, |
306 | const struct iphdr *iph, | 307 | const struct ip_vs_iphdr *iph, |
307 | unsigned int proto_off, | 308 | unsigned int proto_off, |
308 | int inverse); | 309 | int inverse); |
309 | 310 | ||
310 | struct ip_vs_conn * | 311 | struct ip_vs_conn * |
311 | (*conn_out_get)(const struct sk_buff *skb, | 312 | (*conn_out_get)(int af, |
313 | const struct sk_buff *skb, | ||
312 | struct ip_vs_protocol *pp, | 314 | struct ip_vs_protocol *pp, |
313 | const struct iphdr *iph, | 315 | const struct ip_vs_iphdr *iph, |
314 | unsigned int proto_off, | 316 | unsigned int proto_off, |
315 | int inverse); | 317 | int inverse); |
316 | 318 | ||
@@ -320,7 +322,8 @@ struct ip_vs_protocol { | |||
320 | int (*dnat_handler)(struct sk_buff *skb, | 322 | int (*dnat_handler)(struct sk_buff *skb, |
321 | struct ip_vs_protocol *pp, struct ip_vs_conn *cp); | 323 | struct ip_vs_protocol *pp, struct ip_vs_conn *cp); |
322 | 324 | ||
323 | int (*csum_check)(struct sk_buff *skb, struct ip_vs_protocol *pp); | 325 | int (*csum_check)(int af, struct sk_buff *skb, |
326 | struct ip_vs_protocol *pp); | ||
324 | 327 | ||
325 | const char *(*state_name)(int state); | 328 | const char *(*state_name)(int state); |
326 | 329 | ||