summaryrefslogtreecommitdiffstats
path: root/net/tipc/net.h
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 18:59:16 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-01 13:57:47 -0800
commit51f98a8d70583b18cb08b19353aeed5efb0244af (patch)
tree96253d3cb394202b442e65f4d169bbf49b94c327 /net/tipc/net.h
parentaa6027cacdd912ce884953714fcc7392b6155bc6 (diff)
downloadop-kernel-dev-51f98a8d70583b18cb08b19353aeed5efb0244af.zip
op-kernel-dev-51f98a8d70583b18cb08b19353aeed5efb0244af.tar.gz
tipc: Remove prototype code for supporting multiple zones
Eliminates routines, data structures, and files that were intended to allows TIPC to support a network containing multiple zones. Currently, TIPC supports only networks consisting of a single cluster within a single zone, so this code is unnecessary. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.h')
-rw-r--r--net/tipc/net.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h
index de2b9ad..786c940 100644
--- a/net/tipc/net.h
+++ b/net/tipc/net.h
@@ -37,15 +37,17 @@
#ifndef _TIPC_NET_H
#define _TIPC_NET_H
-struct _zone;
+struct cluster;
/**
* struct network - TIPC network structure
- * @zones: array of pointers to all zones within network
+ * @clusters: array of pointers to all clusters within zone
+ * @links: number of (unicast) links to cluster
*/
struct network {
- struct _zone **zones;
+ struct cluster *clusters[2]; /* currently limited to just 1 cluster */
+ u32 links;
};
OpenPOWER on IntegriCloud