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