aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/net.h
diff options
context:
space:
mode:
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 6e402d9b33e0..4ae59ad04893 100644
--- a/net/tipc/net.h
+++ b/net/tipc/net.h
@@ -37,16 +37,18 @@
37#ifndef _TIPC_NET_H 37#ifndef _TIPC_NET_H
38#define _TIPC_NET_H 38#define _TIPC_NET_H
39 39
40struct cluster; 40struct tipc_node;
41 41
42/** 42/**
43 * struct network - TIPC network structure 43 * struct network - TIPC network structure
44 * @clusters: array of pointers to all clusters within zone 44 * @nodes: array of pointers to all nodes within cluster
45 * @highest_node: id of highest numbered node within cluster
45 * @links: number of (unicast) links to cluster 46 * @links: number of (unicast) links to cluster
46 */ 47 */
47 48
48struct network { 49struct network {
49 struct cluster *clusters[2]; /* currently limited to just 1 cluster */ 50 struct tipc_node **nodes;
51 u32 highest_node;
50 u32 links; 52 u32 links;
51}; 53};
52 54