IPVS: Integrate ESP protocol into ip_vs_proto_ah.c
authorJulius Volz <juliusv@google.com>
Fri, 22 Aug 2008 12:06:12 +0000 (14:06 +0200)
committerSimon Horman <horms@verge.net.au>
Wed, 27 Aug 2008 03:50:35 +0000 (13:50 +1000)
commit409a19669e4cd8d1bab7dff31d3b6aa493ff60f0
treec06b390d5ab22d36830217342907d794d0f519b7
parentf728bafb5698076dd35bca35ee6cfe52ea1b8ab2
IPVS: Integrate ESP protocol into ip_vs_proto_ah.c

Rename all ah_* functions to ah_esp_* (and adjust comments). Move ESP
protocol definition into ip_vs_proto_ah.c and remove all usage of
ip_vs_proto_esp.c.

Make the compilation of ip_vs_proto_ah.c dependent on a new config
variable, IP_VS_PROTO_AH_ESP, which is selected either by
IP_VS_PROTO_ESP or IP_VS_PROTO_AH. Only compile the selected protocols'
structures within this file.

Signed-off-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/Kconfig
net/ipv4/ipvs/Makefile
net/ipv4/ipvs/ip_vs_proto_ah.c