aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-11 14:26:15 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-11 14:26:58 -0400
commit3c709f8fb43e07a0403bba4a8ca7ba00ab874994 (patch)
tree9efc1e2bf6930851f0224f525b6cde0f5297fa61 /include/net/ip_vs.h
parent0074820978004cc484b132d7a9ce0df414660d9d (diff)
parent9bbc052d5e63512b0ce4e201ea97e12fba9fda82 (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.h17
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 */
789struct netns_ipvs { 789struct 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 */
1093extern int __ip_vs_estimator_init(struct net *net);
1094extern int __ip_vs_control_init(struct net *net);
1095extern int __ip_vs_protocol_init(struct net *net);
1096extern int __ip_vs_app_init(struct net *net);
1097extern int __ip_vs_conn_init(struct net *net);
1098extern int __ip_vs_sync_init(struct net *net);
1099extern void __ip_vs_conn_cleanup(struct net *net);
1100extern void __ip_vs_app_cleanup(struct net *net);
1101extern void __ip_vs_protocol_cleanup(struct net *net);
1102extern void __ip_vs_control_cleanup(struct net *net);
1103extern void __ip_vs_estimator_cleanup(struct net *net);
1104extern void __ip_vs_sync_cleanup(struct net *net);
1105extern void __ip_vs_service_cleanup(struct net *net);
1089 1106
1090/* 1107/*
1091 * IPVS application functions 1108 * IPVS application functions