summaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorSimon Horman2010-08-22 14:37:54 +0200
committerSimon Horman2010-10-04 15:45:24 +0200
commit8be67a6617b3403551fccb67b1c624c659419515 (patch)
tree902f8092ab95dfd06a80bdaf90bb2e51e23f285b /include/net/ip_vs.h
parentIPVS: Add persistence engine data to /proc/net/ip_vs_conn (diff)
downloadkernel-qcow2-linux-8be67a6617b3403551fccb67b1c624c659419515.tar.gz
kernel-qcow2-linux-8be67a6617b3403551fccb67b1c624c659419515.tar.xz
kernel-qcow2-linux-8be67a6617b3403551fccb67b1c624c659419515.zip
IPVS: management of persistence engine modules
This is based heavily on the scheduler management code Signed-off-by: Simon Horman <horms@verge.net.au> Acked-by: Julian Anastasov <ja@ssi.bg>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 974daf52ba76..a6b93a26d4e2 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -796,6 +796,12 @@ extern int ip_vs_app_pkt_in(struct ip_vs_conn *, struct sk_buff *skb);
extern int ip_vs_app_init(void);
extern void ip_vs_app_cleanup(void);
+void ip_vs_bind_pe(struct ip_vs_service *svc, struct ip_vs_pe *pe);
+void ip_vs_unbind_pe(struct ip_vs_service *svc);
+int register_ip_vs_pe(struct ip_vs_pe *pe);
+int unregister_ip_vs_pe(struct ip_vs_pe *pe);
+extern struct ip_vs_pe *ip_vs_pe_get(const char *name);
+extern void ip_vs_pe_put(struct ip_vs_pe *pe);
/*
* IPVS protocol functions (from ip_vs_proto.c)