diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-11 14:26:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-11 14:26:58 -0400 |
commit | 3c709f8fb43e07a0403bba4a8ca7ba00ab874994 (patch) | |
tree | 9efc1e2bf6930851f0224f525b6cde0f5297fa61 /include/net/ip_vs.h | |
parent | 0074820978004cc484b132d7a9ce0df414660d9d (diff) | |
parent | 9bbc052d5e63512b0ce4e201ea97e12fba9fda82 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-3.6
Conflicts:
drivers/net/benet/be_main.c
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index e0b7f139aa88..9d1f510ab6d0 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -788,6 +788,7 @@ struct ip_vs_app { | |||
788 | /* IPVS in network namespace */ | 788 | /* IPVS in network namespace */ |
789 | struct netns_ipvs { | 789 | struct netns_ipvs { |
790 | int gen; /* Generation */ | 790 | int gen; /* Generation */ |
791 | int enable; /* enable like nf_hooks do */ | ||
791 | /* | 792 | /* |
792 | * Hash table: for real service lookups | 793 | * Hash table: for real service lookups |
793 | */ | 794 | */ |
@@ -1086,6 +1087,22 @@ ip_vs_control_add(struct ip_vs_conn *cp, struct ip_vs_conn *ctl_cp) | |||
1086 | atomic_inc(&ctl_cp->n_control); | 1087 | atomic_inc(&ctl_cp->n_control); |
1087 | } | 1088 | } |
1088 | 1089 | ||
1090 | /* | ||
1091 | * IPVS netns init & cleanup functions | ||
1092 | */ | ||
1093 | extern int __ip_vs_estimator_init(struct net *net); | ||
1094 | extern int __ip_vs_control_init(struct net *net); | ||
1095 | extern int __ip_vs_protocol_init(struct net *net); | ||
1096 | extern int __ip_vs_app_init(struct net *net); | ||
1097 | extern int __ip_vs_conn_init(struct net *net); | ||
1098 | extern int __ip_vs_sync_init(struct net *net); | ||
1099 | extern void __ip_vs_conn_cleanup(struct net *net); | ||
1100 | extern void __ip_vs_app_cleanup(struct net *net); | ||
1101 | extern void __ip_vs_protocol_cleanup(struct net *net); | ||
1102 | extern void __ip_vs_control_cleanup(struct net *net); | ||
1103 | extern void __ip_vs_estimator_cleanup(struct net *net); | ||
1104 | extern void __ip_vs_sync_cleanup(struct net *net); | ||
1105 | extern void __ip_vs_service_cleanup(struct net *net); | ||
1089 | 1106 | ||
1090 | /* | 1107 | /* |
1091 | * IPVS application functions | 1108 | * IPVS application functions |