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.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h
index aa431ef8b7b..b52b9748b5e 100644
--- a/net/tipc/net.h
+++ b/net/tipc/net.h
@@ -39,21 +39,10 @@
39 39
40struct tipc_node; 40struct tipc_node;
41 41
42/** 42extern struct tipc_node **tipc_nodes;
43 * struct network - TIPC network structure 43extern u32 tipc_highest_node;
44 * @nodes: array of pointers to all nodes within cluster 44extern atomic_t tipc_num_links;
45 * @highest_node: id of highest numbered node within cluster
46 * @links: number of (unicast) links to cluster
47 */
48
49struct network {
50 struct tipc_node **nodes;
51 u32 highest_node;
52 atomic_t links;
53};
54
55 45
56extern struct network tipc_net;
57extern rwlock_t tipc_net_lock; 46extern rwlock_t tipc_net_lock;
58 47
59void tipc_net_route_msg(struct sk_buff *buf); 48void tipc_net_route_msg(struct sk_buff *buf);