summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_pe.c
diff options
context:
space:
mode:
authorHans Schillstrom <hans.schillstrom@ericsson.com>2010-11-19 14:25:12 +0100
committerSimon Horman <horms@verge.net.au>2010-11-25 10:42:59 +0900
commitfe5e7a1efb664df0280f10377813d7099fb7eb0f (patch)
tree72eaf55ec2200327a8260a49c22bc13c60f996a2 /net/netfilter/ipvs/ip_vs_pe.c
parent2981bc9a63456500037ca1f434b93a561e63f384 (diff)
downloadop-kernel-dev-fe5e7a1efb664df0280f10377813d7099fb7eb0f.zip
op-kernel-dev-fe5e7a1efb664df0280f10377813d7099fb7eb0f.tar.gz
IPVS: Backup, Adding Version 1 receive capability
Functionality improvements * flags changed from 16 to 32 bits * fwmark added (32 bits) * timeout in sec. added (32 bits) * pe data added (Variable length) * IPv6 capabilities (3x16 bytes for addr.) * Version and type in every conn msg. ip_vs_process_message() now handles Version 1 messages and will call ip_vs_process_message_v0() for version 0 messages. ip_vs_proc_conn() is common for both version, and handles the update of connection hash. ip_vs_conn_fill_param_sync() - Version 1 messages only ip_vs_conn_fill_param_sync_v0() - Version 0 messages only Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_pe.c')
-rw-r--r--net/netfilter/ipvs/ip_vs_pe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/netfilter/ipvs/ip_vs_pe.c b/net/netfilter/ipvs/ip_vs_pe.c
index e99f920..5cf859c 100644
--- a/net/netfilter/ipvs/ip_vs_pe.c
+++ b/net/netfilter/ipvs/ip_vs_pe.c
@@ -29,12 +29,11 @@ void ip_vs_unbind_pe(struct ip_vs_service *svc)
}
/* Get pe in the pe list by name */
-static struct ip_vs_pe *
-__ip_vs_pe_getbyname(const char *pe_name)
+struct ip_vs_pe *__ip_vs_pe_getbyname(const char *pe_name)
{
struct ip_vs_pe *pe;
- IP_VS_DBG(2, "%s(): pe_name \"%s\"\n", __func__,
+ IP_VS_DBG(10, "%s(): pe_name \"%s\"\n", __func__,
pe_name);
spin_lock_bh(&ip_vs_pe_lock);
OpenPOWER on IntegriCloud