diff options
author | Simon Horman <horms@verge.net.au> | 2010-08-22 16:37:53 +0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-10-04 17:45:24 +0400 |
commit | a3c918acd29a96aba3b46bf50136e7953a480d17 (patch) | |
tree | 570a5ea3a3fdef62b86e944ebcfcaf8b88ddb735 /include | |
parent | 85999283a21ab2dd37427fdd8c8e8af57223977c (diff) | |
download | linux-a3c918acd29a96aba3b46bf50136e7953a480d17.tar.xz |
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')
-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); }; /* |