diff options
author | Simon Horman <horms@verge.net.au> | 2010-08-22 21:37:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-10-04 22:45:24 +0900 |
commit | a3c918acd29a96aba3b46bf50136e7953a480d17 (patch) | |
tree | 570a5ea3a3fdef62b86e944ebcfcaf8b88ddb735 /include/net/ip_vs.h | |
parent | 85999283a21ab2dd37427fdd8c8e8af57223977c (diff) | |
download | linux-rpi3-a3c918acd29a96aba3b46bf50136e7953a480d17.tar.gz linux-rpi3-a3c918acd29a96aba3b46bf50136e7953a480d17.tar.bz2 linux-rpi3-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.h | 1 |
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); }; /* |