summaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorSimon Horman2010-08-22 14:37:53 +0200
committerSimon Horman2010-10-04 15:45:24 +0200
commita3c918acd29a96aba3b46bf50136e7953a480d17 (patch)
tree570a5ea3a3fdef62b86e944ebcfcaf8b88ddb735 /include/net/ip_vs.h
parentIPVS: Add struct ip_vs_pe (diff)
downloadkernel-qcow2-linux-a3c918acd29a96aba3b46bf50136e7953a480d17.tar.gz
kernel-qcow2-linux-a3c918acd29a96aba3b46bf50136e7953a480d17.tar.xz
kernel-qcow2-linux-a3c918acd29a96aba3b46bf50136e7953a480d17.zip
IPVS: Add persistence engine data to /proc/net/ip_vs_conn
This shouldn't break compatibility with userspace as the new data is at the end of the line. I have confirmed that this doesn't break ipvsadm, the main (only?) user-space user of this data. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index b6b309d05e4e..974daf52ba76 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -572,6 +572,7 @@ struct ip_vs_pe {
struct ip_vs_conn *ct);
u32 (*hashkey_raw)(const struct ip_vs_conn_param *p, u32 initval,
bool inverse);
+ int (*show_pe_data)(const struct ip_vs_conn *cp, char *buf);
};
/*