]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IPVS: Add 'af' args to protocol handler functions
authorJulius Volz <juliusv@google.com>
Tue, 2 Sep 2008 13:55:40 +0000 (15:55 +0200)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Sep 2008 01:17:06 +0000 (11:17 +1000)
commit51ef348b14183789e4cb3444d05ce83b1b69d8fb
treee14e54ce262073b63a3343c764b8174b1041b577
parentb14198f6c1bea1687d20723db35d8effecd9d899
IPVS: Add 'af' args to protocol handler functions

Add 'af' arguments to conn_schedule(), conn_in_get(), conn_out_get() and
csum_check() function pointers in struct ip_vs_protocol. Extend the
respective functions for TCP, UDP, AH and ESP and adjust the callers.

The changes in the callers need to be somewhat extensive, since they now
need to pass a filled out struct ip_vs_iphdr * to the modified functions
instead of a struct iphdr *.

Signed-off-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/ipv4/ipvs/ip_vs_core.c
net/ipv4/ipvs/ip_vs_proto_ah_esp.c
net/ipv4/ipvs/ip_vs_proto_tcp.c
net/ipv4/ipvs/ip_vs_proto_udp.c