diff options
author | Hans Schillstrom <hans.schillstrom@ericsson.com> | 2011-01-03 08:44:52 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-01-12 20:30:27 -0500 |
commit | 9bbac6a904d0816dae58b454692c54d6773cc20d (patch) | |
tree | f29698f1230e2a0b6fda2546f1f6da256d442979 /include/net/ip_vs.h | |
parent | 9330419d9aa4f97df412ac9be9fc0388c67dd315 (diff) |
IPVS: netns, common protocol changes and use of appcnt.
appcnt and timeout_table moved from struct ip_vs_protocol to
ip_vs proto_data.
struct net *net added as first param to
- register_app()
- unregister_app()
- app_conn_bind()
- ip_vs_conn_new()
[horms@verge.net.au: removed cosmetic-change-only hunk]
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 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 464ea365ca07..cc6ae621a9b5 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -360,8 +360,6 @@ struct ip_vs_protocol { | |||
360 | u16 protocol; | 360 | u16 protocol; |
361 | u16 num_states; | 361 | u16 num_states; |
362 | int dont_defrag; | 362 | int dont_defrag; |
363 | atomic_t appcnt; /* counter of proto app incs */ | ||
364 | int *timeout_table; /* protocol timeout table */ | ||
365 | 363 | ||
366 | void (*init)(struct ip_vs_protocol *pp); | 364 | void (*init)(struct ip_vs_protocol *pp); |
367 | 365 | ||